aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-04 05:16:42 +0000
committerChris Lattner <sabre@nondot.org>2007-10-04 05:16:42 +0000
commit1b386424dfbea0175430345172b5306fda03a3ff (patch)
tree7de2bfe9ab3685a7ddb15a855d938643c5e51ef7
parent3f5faf7c28a51d920b043fa69e268c6fad78caf8 (diff)
fix an incorrect assertion
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42602 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Lex/IdentifierTable.h2
1 files changed, 1 insertions, 1 deletions
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<uintptr_t>(SI);