[cfe-commits] r69054 - /cfe/trunk/lib/Lex/LiteralSupport.cpp
Chris Lattner
sabre at nondot.org
Tue Apr 14 11:05:08 PDT 2009
Author: lattner
Date: Tue Apr 14 13:05:08 2009
New Revision: 69054
URL: http://llvm.org/viewvc/llvm-project?rev=69054&view=rev
Log:
temporarily revert r69046
Modified:
cfe/trunk/lib/Lex/LiteralSupport.cpp
Modified: cfe/trunk/lib/Lex/LiteralSupport.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/LiteralSupport.cpp?rev=69054&r1=69053&r2=69054&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/LiteralSupport.cpp (original)
+++ cfe/trunk/lib/Lex/LiteralSupport.cpp Tue Apr 14 13:05:08 2009
@@ -632,10 +632,10 @@
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");
More information about the cfe-commits
mailing list