From: Chris Lattner Date: Sun, 16 Sep 2007 19:23:04 +0000 (+0000) Subject: decl counting isn't implemented yet for objc. -stats probably crashes for it. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7341c333617b51cc6567175546f7a07999198a12;p=clang 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 4b464ee5e6..285b184217 100644 --- a/AST/Decl.cpp +++ b/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; } }