]> granicus.if.org Git - clang/commit
introduce a new NamedDecl class, switch a couple of things over to using it.
authorChris Lattner <sabre@nondot.org>
Sat, 6 Oct 2007 22:53:46 +0000 (22:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Oct 2007 22:53:46 +0000 (22:53 +0000)
commitfd5de471478a507dd2495c4ea9bcab801ea5fa65
treee8504c7d49c4b3483bcbae2eb9cedf24280430e1
parente5ab7f31054e87ee812830480a828a762cd9eb73
introduce a new NamedDecl class, switch a couple of things over to using it.
NamedDecl is a Decl that has an IdentifierInfo (for example, ScopedDecl),
but not ObjcMethodDecl.

Simplify some code in ActOnAddMethodsToObjcDecl, by doing the cast from
DeclTy to Decl at the start of the method.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42710 91177308-0d34-0410-b5e6-96231b3b80d8
AST/Decl.cpp
Sema/SemaDecl.cpp
include/clang/AST/Decl.h
include/clang/AST/DeclObjC.h