From: Douglas Gregor Date: Fri, 24 Apr 2009 05:15:35 +0000 (+0000) Subject: Make sure that ObjCCompatibleAlias and ObjCImplementation decls are considered NamedDecls X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76b329177a0bdf05641f74705692a59733090c53;p=clang Make sure that ObjCCompatibleAlias and ObjCImplementation decls are considered NamedDecls git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69955 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclNodes.def b/include/clang/AST/DeclNodes.def index 3b48b2196e..7b60f6012c 100644 --- a/include/clang/AST/DeclNodes.def +++ b/include/clang/AST/DeclNodes.def @@ -114,9 +114,9 @@ ABSTRACT_DECL(Named, Decl) DECL(ObjCInterface, ObjCContainerDecl) DECL(ObjCProperty, NamedDecl) DECL(ObjCCompatibleAlias, NamedDecl) -ABSTRACT_DECL(ObjCImpl, Decl) - DECL(ObjCCategoryImpl, ObjCImplDecl) - DECL(ObjCImplementation, ObjCImplDecl) + ABSTRACT_DECL(ObjCImpl, NamedDecl) + DECL(ObjCCategoryImpl, ObjCImplDecl) + DECL(ObjCImplementation, ObjCImplDecl) DECL(LinkageSpec, Decl) DECL(ObjCPropertyImpl, Decl) DECL(ObjCForwardProtocol, Decl) @@ -138,7 +138,7 @@ DECL_CONTEXT_BASE(ObjCContainer) LAST_DECL_CONTEXT(Block) // Declaration ranges -DECL_RANGE(Named, OverloadedFunction, ObjCCompatibleAlias) +DECL_RANGE(Named, OverloadedFunction, ObjCImplementation) DECL_RANGE(ObjCContainer, ObjCContainer, ObjCInterface) DECL_RANGE(Field, Field, ObjCAtDefsField) DECL_RANGE(Type, Typedef, TemplateTypeParm)