search for: tokstart

Displaying 4 results from an estimated 4 matches for "tokstart".

Did you mean: romstart
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
...0,24 @@ int LLLexer::getNextChar() { if ((*CurPtr == '\n' || (*CurPtr == '\r')) && *CurPtr != CurChar) ++CurPtr; // Eat the two char newline sequence. - + ++CurLineNo; return '\n'; - } + } } int LLLexer::LexToken() { TokStart = CurPtr; - + int CurChar = getNextChar(); - + switch (CurChar) { default: // Handle letters: [a-zA-Z_] if (isalpha(CurChar) || CurChar == '_') return LexIdentifier(); - + return CurChar; case EOF: return YYEOF; case 0: @@ -234,7 +234,7 @@ int LL...
2016 Jun 22
4
Help building llvm on freebsd 8.4
...ror: 'strtoll' was not declared in this scope CurIntVal = strtoll(NumStart, nullptr, 2); ^ /home/spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:429:44: error: 'strtoll' was not declared in this scope CurIntVal = strtoll(TokStart, nullptr, 10); GCC Version = 4.9.2 CMAKE version = 3.2.3 I also tried to include stdlib.h in the file llvm-3.8.0.src/lib/TableGen/TGLexer.cpp. This din't help. Is there any configuration I am missing ? -- SHUSHIL -------------- next part -------------- An HTML attachment was scrubbed... URL:...
2007 Dec 15
4
[LLVMdev] fix warning with newer g++ compilers
...mParser/LLLexer.cpp (revision 45058) +++ lib/AsmParser/LLLexer.cpp (working copy) @@ -284,7 +284,7 @@ // Handle GlobalVarID: @[0-9]+ if (isdigit(CurPtr[0])) { - for (++CurPtr; isdigit(CurPtr[0]); ++CurPtr); + for (++CurPtr; isdigit(CurPtr[0]); ++CurPtr) ; uint64_t Val = atoull(TokStart+1, CurPtr); if ((unsigned)Val != Val) @@ -335,7 +335,7 @@ // Handle LocalVarID: %[0-9]+ if (isdigit(CurPtr[0])) { - for (++CurPtr; isdigit(CurPtr[0]); ++CurPtr); + for (++CurPtr; isdigit(CurPtr[0]); ++CurPtr) ; uint64_t Val = atoull(TokStart+1, CurPtr); if ((unsign...
2016 Jun 23
2
Help building llvm on freebsd 8.4
...is scope > > CurIntVal = strtoll(NumStart, nullptr, 2); > > ^ > > /home/spangeni/llvm/llvm-3.8.0.src/lib/TableGen/TGLexer.cpp:429:44: > error: 'strtoll' was not declared in this scope > > CurIntVal = strtoll(TokStart, nullptr, 10); > > GCC Version = 4.9.2 CMAKE version = 3.2.3 > > > > I also tried to include stdlib.h in the file > llvm-3.8.0.src/lib/TableGen/TGLexer.cpp. This din't help. > > > > Is there any configuration I am missing ? > > > -- SHUSHIL ---------...