aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/LiteralSupport.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-14 18:05:08 +0000
committerChris Lattner <sabre@nondot.org>2009-04-14 18:05:08 +0000
commitf87b3dfdf9d46b730a05415f6828e5285174fa33 (patch)
tree92e6642931ad14be940a2b9821f385a18f534051 /lib/Lex/LiteralSupport.cpp
parentc15830694f2bd01080e6c39a88c5b8ff2288af18 (diff)
temporarily revert r69046
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/LiteralSupport.cpp')
-rw-r--r--lib/Lex/LiteralSupport.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp
index e8d3162886..a52d951e75 100644
--- a/lib/Lex/LiteralSupport.cpp
+++ b/lib/Lex/LiteralSupport.cpp
@@ -632,10 +632,10 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
assert(begin[0] == '\'' && "Invalid token lexed");
++begin;
- // FIXME: This assumes that 'int' is not more than 32-bits in overflow
- // calculation, and the size of "value".
- assert(PP.getTargetInfo().getIntWidth() <= 32 &&
- "Assumes sizeof(int) <= 4 for now");
+ // FIXME: This assumes that 'int' is 32-bits in overflow calculation, and the
+ // size of "value".
+ assert(PP.getTargetInfo().getIntWidth() == 32 &&
+ "Assumes sizeof(int) == 4 for now");
// FIXME: This assumes that wchar_t is 32-bits for now.
assert(PP.getTargetInfo().getWCharWidth() == 32 &&
"Assumes sizeof(wchar_t) == 4 for now");