Ah, this is already correctly rejected!

llvm-svn: 39386
This commit is contained in:
Chris Lattner 2007-04-04 06:49:26 +00:00
parent ce5dc8a6b4
commit 531efa43d8
1 changed files with 1 additions and 6 deletions

View File

@ -281,12 +281,7 @@ bool NumericLiteralParser::GetIntegerValue(APInt &Val) {
unsigned C = HexLetterToVal(*s++);
// If this letter is out of bound for this radix, reject it.
if (C >= radix) {
// FIXME: This is an error, not a warning. This should be caught by
// NumericLiteralParser ctor.
C = C % radix;
OverflowOccurred = true;
}
assert(C < radix && "NumericLiteralParser ctor should have rejected this");
CharVal = C;