summaryrefslogtreecommitdiffstats
path: root/clang/AST/Decl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-09-16 19:23:04 +0000
committerChris Lattner <sabre@nondot.org>2007-09-16 19:23:04 +0000
commit81b7624c6f7af7b0983dc94db001cb1bda664aee (patch)
tree1797fd3a231a75368cecd850e2f2861eabc5b685 /clang/AST/Decl.cpp
parent327e1a386c15f20e3acdf82ac432ecd632d1e3d2 (diff)
downloadbcm5719-llvm-81b7624c6f7af7b0983dc94db001cb1bda664aee.tar.gz
bcm5719-llvm-81b7624c6f7af7b0983dc94db001cb1bda664aee.zip
decl counting isn't implemented yet for objc. -stats probably crashes for it.
Patch by Justin Handville llvm-svn: 42009
Diffstat (limited to 'clang/AST/Decl.cpp')
-rw-r--r--clang/AST/Decl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/AST/Decl.cpp b/clang/AST/Decl.cpp
index 4b464ee5e6e..285b1842173 100644
--- a/clang/AST/Decl.cpp
+++ b/clang/AST/Decl.cpp
@@ -141,6 +141,13 @@ void Decl::addDeclKind(const Kind k) {
case ObjcInterface:
nInterfaceDecls++;
break;
+ case ObjcClass:
+ case ObjcMethod:
+ case ObjcProtoMethod:
+ case ObjcProtocol:
+ case ObjcIvar:
+ assert(0 && "FIXME: Count these decls!");
+ break;
}
}
OpenPOWER on IntegriCloud