decl counting isn't implemented yet for objc. -stats probably crashes for it.
Patch by Justin Handville
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42009 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Decl.cpp b/AST/Decl.cpp
index 4b464ee..285b184 100644
--- a/AST/Decl.cpp
+++ b/AST/Decl.cpp
@@ -141,6 +141,13 @@
case ObjcInterface:
nInterfaceDecls++;
break;
+ case ObjcClass:
+ case ObjcMethod:
+ case ObjcProtoMethod:
+ case ObjcProtocol:
+ case ObjcIvar:
+ assert(0 && "FIXME: Count these decls!");
+ break;
}
}