]> granicus.if.org Git - clang/commitdiff
Make sure that ObjCCompatibleAlias and ObjCImplementation decls are considered NamedDecls
authorDouglas Gregor <dgregor@apple.com>
Fri, 24 Apr 2009 05:15:35 +0000 (05:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 24 Apr 2009 05:15:35 +0000 (05:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69955 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclNodes.def

index 3b48b2196e1e7dde32b76299a1a7aec0587f597c..7b60f6012ceaf6bf244e5233142c075e00c51232 100644 (file)
@@ -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)