summaryrefslogtreecommitdiffstats
path: root/clang
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
commit66037791b1faaa6a08d7f9e0c5dfc1fa0bb1fc36 (patch)
tree6dd1c4c80d978dbca167b8760ecf6fb67f13745c /clang
parent4527d30c3dd83a211bb980bf78b7eee0c0b7355c (diff)
downloadbcm5719-llvm-66037791b1faaa6a08d7f9e0c5dfc1fa0bb1fc36.tar.gz
bcm5719-llvm-66037791b1faaa6a08d7f9e0c5dfc1fa0bb1fc36.zip
temporarily revert r69046
llvm-svn: 69054
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index e8d31628865..a52d951e754 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/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");
OpenPOWER on IntegriCloud