From 7341c333617b51cc6567175546f7a07999198a12 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 16 Sep 2007 19:23:04 +0000 Subject: [PATCH] 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 --- AST/Decl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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; } } -- 2.50.1