[cfe-commits] r42602 - /cfe/trunk/include/clang/Lex/IdentifierTable.h

Chris Lattner sabre at nondot.org
Wed Oct 3 22:16:42 PDT 2007


Author: lattner
Date: Thu Oct  4 00:16:42 2007
New Revision: 42602

URL: http://llvm.org/viewvc/llvm-project?rev=42602&view=rev
Log:
fix an incorrect assertion

Modified:
    cfe/trunk/include/clang/Lex/IdentifierTable.h

Modified: cfe/trunk/include/clang/Lex/IdentifierTable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/IdentifierTable.h?rev=42602&r1=42601&r2=42602&view=diff

==============================================================================
--- cfe/trunk/include/clang/Lex/IdentifierTable.h (original)
+++ cfe/trunk/include/clang/Lex/IdentifierTable.h Thu Oct  4 00:16:42 2007
@@ -247,7 +247,7 @@
     else if (nArgs == 1)
       InfoPtr |= OneArg;
     else
-      assert(1 && "nArgs not equal to 0/1");
+      assert(0 && "nArgs not equal to 0/1");
   }
   Selector(MultiKeywordSelector *SI) {
     InfoPtr = reinterpret_cast<uintptr_t>(SI);





More information about the cfe-commits mailing list