summaryrefslogtreecommitdiffstats
path: root/clang/AST/Decl.cpp
diff options
context:
space:
mode:
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