Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.cpp70 tgtok::TokKind TGLexer::ReturnError(SMLoc Loc, const Twine &Msg) { in ReturnError() function in TGLexer
76 return ReturnError(SMLoc::getFromPointer(Loc), Msg); in ReturnError()
152 return ReturnError(TokStart, "Unexpected character"); in LexToken()
195 return ReturnError(TokStart, "Invalid '..' punctuation"); in LexToken()
219 return ReturnError(TokStart, "Unexpected character"); in LexToken()
323 return ReturnError(TokStart, "Invalid variable name"); in LexVarName()
495 return ReturnError(CurPtr-2, "Invalid binary number"); in LexNumber()
536 return ReturnError(CodeStart - 2, "Unterminated code block"); in LexBracket()
542 return ReturnError(CurPtr - 1, "Invalid \"!operator\""); in LexExclaim()
777 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
[all …]
H A DTGLexer.h138 tgtok::TokKind ReturnError(SMLoc Loc, const Twine &Msg);
139 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp83 return ReturnError(CurPtr, "invalid sign in float literal"); in LexFloatLiteral()
217 return ReturnError(TokStart, "unterminated comment"); in LexSlash()
425 return ReturnError(TokStart, in LexDigit()
440 return ReturnError(TokStart, "invalid hexadecimal number"); in LexDigit()
453 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
503 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
509 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
531 return ReturnError(CurPtr-2, "invalid hexadecimal number"); in LexDigit()
595 return ReturnError(TokStart, "unterminated single quote"); in LexSingleQuote()
600 return ReturnError(TokStart, "single quote way too long"); in LexSingleQuote()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h60 AsmToken ReturnError(const char *Loc, const std::string &Msg);