mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 18:56:04 +00:00
Fix build breakage due to typo in cast.
llvm-svn: 282183
This commit is contained in:
parent
07dc6b6937
commit
ba26d470c1
@ -426,7 +426,7 @@ namespace llvm {
|
||||
consumeInteger(unsigned Radix, T &Result) {
|
||||
unsigned long long ULLVal;
|
||||
if (consumeUnsignedInteger(*this, Radix, ULLVal) ||
|
||||
static_cast<long long>(static_cast<T>(ULLVal)) != ULLVal)
|
||||
static_cast<unsigned long long>(static_cast<T>(ULLVal)) != ULLVal)
|
||||
return true;
|
||||
Result = ULLVal;
|
||||
return false;
|
||||
|
@ -580,6 +580,8 @@ static const char* BadStrings[] = {
|
||||
, "08" // illegal oct characters
|
||||
, "0o8" // illegal oct characters
|
||||
, "-123" // negative unsigned value
|
||||
, "0x"
|
||||
, "0b"
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user