Displaying 1 result from an estimated 1 matches for "generateerror".
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
...13:02:47.000000000 -0800
@@ -54,7 +54,7 @@ static uint64_t HexIntToVal(const char *
Result += C-'A'+10;
else if (C >= 'a' && C <= 'f')
Result += C-'a'+10;
-
+
if (Result < OldRes) { // Uh, oh, overflow detected!!!
GenerateError("constant bigger than 64 bits detected!");
return 0;
@@ -102,7 +102,7 @@ static void HexToIntPair(const char *Buf
// appropriate character.
static void UnEscapeLexed(std::string &Str) {
if (Str.empty()) return;
-
+
char *Buffer = &Str[0], *EndBuffer = Buffer+Str.s...