]> granicus.if.org Git - clang/commitdiff
Add dummy -ast-dump support for ObjC category implementations.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 5 Oct 2008 00:31:15 +0000 (00:31 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 5 Oct 2008 00:31:15 +0000 (00:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57087 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/ASTConsumers.cpp

index 9c74301a9b7d86aad14cab57af2640778adff9ee..24335cfae039fb362b9664f610dcc4055d2dca2f 100644 (file)
@@ -489,6 +489,8 @@ namespace {
         }
       } 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!");