From: Chris Lattner Date: Thu, 4 Oct 2007 05:16:42 +0000 (+0000) Subject: fix an incorrect assertion X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b386424dfbea0175430345172b5306fda03a3ff;p=clang fix an incorrect assertion git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42602 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/IdentifierTable.h b/include/clang/Lex/IdentifierTable.h index 878f23788e..ddfd029fb3 100644 --- a/include/clang/Lex/IdentifierTable.h +++ b/include/clang/Lex/IdentifierTable.h @@ -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(SI);