[cfe-commits] r69955 - /cfe/trunk/include/clang/AST/DeclNodes.def

Douglas Gregor dgregor at apple.com
Thu Apr 23 22:15:36 PDT 2009


Author: dgregor
Date: Fri Apr 24 00:15:35 2009
New Revision: 69955

URL: http://llvm.org/viewvc/llvm-project?rev=69955&view=rev
Log:
Make sure that ObjCCompatibleAlias and ObjCImplementation decls are considered NamedDecls

Modified:
    cfe/trunk/include/clang/AST/DeclNodes.def

Modified: cfe/trunk/include/clang/AST/DeclNodes.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclNodes.def?rev=69955&r1=69954&r2=69955&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/DeclNodes.def (original)
+++ cfe/trunk/include/clang/AST/DeclNodes.def Fri Apr 24 00:15:35 2009
@@ -114,9 +114,9 @@
     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 @@
 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)





More information about the cfe-commits mailing list