[cfe-commits] r57087 - /cfe/trunk/Driver/ASTConsumers.cpp

Daniel Dunbar daniel at zuster.org
Sat Oct 4 17:31:16 PDT 2008


Author: ddunbar
Date: Sat Oct  4 19:31:15 2008
New Revision: 57087

URL: http://llvm.org/viewvc/llvm-project?rev=57087&view=rev
Log:
Add dummy -ast-dump support for ObjC category implementations.

Modified:
    cfe/trunk/Driver/ASTConsumers.cpp

Modified: cfe/trunk/Driver/ASTConsumers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTConsumers.cpp?rev=57087&r1=57086&r2=57087&view=diff

==============================================================================
--- cfe/trunk/Driver/ASTConsumers.cpp (original)
+++ cfe/trunk/Driver/ASTConsumers.cpp Sat Oct  4 19:31:15 2008
@@ -489,6 +489,8 @@
         }
       } else if (isa<ObjCImplementationDecl>(D)) {
         Out << "Read objc implementation decl\n";
+      } else if (isa<ObjCCategoryImplDecl>(D)) {
+        Out << "Read objc category implementation decl\n";
       }
       else {
         assert(0 && "Unknown decl type!");





More information about the cfe-commits mailing list