]> granicus.if.org Git - clang/commitdiff
fix an incorrect assertion
authorChris Lattner <sabre@nondot.org>
Thu, 4 Oct 2007 05:16:42 +0000 (05:16 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 4 Oct 2007 05:16:42 +0000 (05:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42602 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/IdentifierTable.h

index 878f23788e8fafc87c6d6ee45b4b8c6c461e3582..ddfd029fb334ff5a4d9bc7ac73440e71ae45f6b5 100644 (file)
@@ -247,7 +247,7 @@ class Selector {
     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);