aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-05 00:31:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-05 00:31:15 +0000
commit539ced1fddeedb30d35f75f01000d8b3c3ff6d72 (patch)
tree98aa8eac374f1dc70e9a4c312ccb9931d6cd7d12
parent22aed6574fca08c483d366a501de089560ba5423 (diff)
Add dummy -ast-dump support for ObjC category implementations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57087 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/ASTConsumers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Driver/ASTConsumers.cpp b/Driver/ASTConsumers.cpp
index 9c74301a9b..24335cfae0 100644
--- a/Driver/ASTConsumers.cpp
+++ b/Driver/ASTConsumers.cpp
@@ -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!");