[cfe-commits] r42009 - /cfe/trunk/AST/Decl.cpp

Chris Lattner sabre at nondot.org
Sun Sep 16 12:23:04 PDT 2007


Author: lattner
Date: Sun Sep 16 14:23:04 2007
New Revision: 42009

URL: http://llvm.org/viewvc/llvm-project?rev=42009&view=rev
Log:
decl counting isn't implemented yet for objc.  -stats probably crashes for it.
Patch by Justin Handville

Modified:
    cfe/trunk/AST/Decl.cpp

Modified: cfe/trunk/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Decl.cpp?rev=42009&r1=42008&r2=42009&view=diff

==============================================================================
--- cfe/trunk/AST/Decl.cpp (original)
+++ cfe/trunk/AST/Decl.cpp Sun Sep 16 14:23:04 2007
@@ -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;
   }
 }
 





More information about the cfe-commits mailing list