Home
last modified time | relevance | path

Searched refs:ReturnError (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/TableGen/
DTGLexer.cpp42 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { in ReturnError() function in TGLexer
100 return ReturnError(TokStart, "Unexpected character"); in LexToken()
133 return ReturnError(TokStart, "Unexpected character"); in LexToken()
191 return ReturnError(StrStart, "End of file in string literal"); in LexString()
194 return ReturnError(StrStart, "End of line in string literal"); in LexString()
219 return ReturnError(CurPtr, "escaped newlines not supported in tblgen"); in LexString()
224 return ReturnError(StrStart, "End of file in string literal"); in LexString()
227 return ReturnError(CurPtr, "invalid escape in string literal"); in LexString()
237 return ReturnError(TokStart, "Invalid variable name"); in LexVarName()
389 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
[all …]
DTGLexer.h123 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp46 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { in ReturnError() function in AsmLexer
117 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
122 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
135 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
182 return ReturnError(TokStart, "unterminated comment"); in LexSlash()
269 return ReturnError(TokStart, !isHex ? "invalid decimal number" : in LexDigit()
297 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
303 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
325 return ReturnError(CurPtr-2, "invalid hexadecimal number"); in LexDigit()
329 return ReturnError(TokStart, "invalid hexadecimal number"); in LexDigit()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h59 AsmToken ReturnError(const char *Loc, const std::string &Msg);