Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.cpp72 tgtok::TokKind TGLexer::ReturnError(SMLoc Loc, const Twine &Msg) { in ReturnError() function in TGLexer
77 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { in ReturnError() function in TGLexer
78 return ReturnError(SMLoc::getFromPointer(Loc), Msg); in ReturnError()
154 return ReturnError(TokStart, "Unexpected character"); in LexToken()
197 return ReturnError(TokStart, "Invalid '..' punctuation"); in LexToken()
221 return ReturnError(TokStart, "Unexpected character"); in LexToken()
279 return ReturnError(StrStart, "End of file in string literal"); in LexString()
282 return ReturnError(StrStart, "End of line in string literal"); in LexString()
307 return ReturnError(CurPtr, "escaped newlines not supported in tblgen"); in LexString()
312 return ReturnError(StrStart, "End of file in string literal"); in LexString()
[all …]
H A DTGLexer.h247 tgtok::TokKind ReturnError(SMLoc Loc, const Twine &Msg);
248 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp56 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { in ReturnError() function in AsmLexer
83 return ReturnError(CurPtr, "invalid sign in float literal"); in LexFloatLiteral()
123 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
128 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
141 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
217 return ReturnError(TokStart, "unterminated comment"); in LexSlash()
406 return ReturnError(TokStart, "invalid " + radixName(Radix) + " number"); in LexDigit()
426 return ReturnError(TokStart, in LexDigit()
441 return ReturnError(TokStart, "invalid hexadecimal number"); in LexDigit()
454 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h60 AsmToken ReturnError(const char *Loc, const std::string &Msg);