Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGLexer.cpp68 tgtok::TokKind TGLexer::ReturnError(SMLoc Loc, const Twine &Msg) { in ReturnError() function in TGLexer
74 return ReturnError(SMLoc::getFromPointer(Loc), Msg); in ReturnError()
150 return ReturnError(TokStart, "Unexpected character"); in LexToken()
193 return ReturnError(TokStart, "Invalid '..' punctuation"); in LexToken()
217 return ReturnError(TokStart, "Unexpected character"); in LexToken()
321 return ReturnError(TokStart, "Invalid variable name"); in LexVarName()
493 return ReturnError(CurPtr-2, "Invalid binary number"); in LexNumber()
534 return ReturnError(CodeStart - 2, "Unterminated code block"); in LexBracket()
540 return ReturnError(CurPtr - 1, "Invalid \"!operator\""); in LexExclaim()
776 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
[all …]
H A DTGLexer.h139 tgtok::TokKind ReturnError(SMLoc Loc, const Twine &Msg);
140 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
/llvm-project-15.0.7/flang/runtime/
H A Dallocatable.cpp73 return ReturnError(terminator, StatInvalidDescriptor, errMsg, hasStat); in RTNAME()
76 return ReturnError(terminator, StatBaseNotNull, errMsg, hasStat); in RTNAME()
78 int stat{ReturnError(terminator, descriptor.Allocate(), errMsg, hasStat)}; in RTNAME()
95 return ReturnError(terminator, StatInvalidDescriptor, errMsg, hasStat); in RTNAME()
98 return ReturnError(terminator, StatBaseNull, errMsg, hasStat); in RTNAME()
100 return ReturnError(terminator, descriptor.Destroy(true), errMsg, hasStat); in RTNAME()
107 ReturnError(terminator, StatInvalidDescriptor); in RTNAME()
109 ReturnError(terminator, StatBaseNull); in RTNAME()
111 ReturnError(terminator, descriptor.Destroy(false)); in RTNAME()
H A Dpointer.cpp120 return ReturnError(terminator, StatInvalidDescriptor, errMsg, hasStat); in RTNAME()
122 int stat{ReturnError(terminator, pointer.Allocate(), errMsg, hasStat)}; in RTNAME()
139 return ReturnError(terminator, StatInvalidDescriptor, errMsg, hasStat); in RTNAME()
142 return ReturnError(terminator, StatBaseNull, errMsg, hasStat); in RTNAME()
144 return ReturnError(terminator, pointer.Destroy(true, true), errMsg, hasStat); in RTNAME()
H A Dstat.h55 int ReturnError(Terminator &, int stat, const Descriptor *errmsg = nullptr,
H A Dstat.cpp87 int ReturnError( in ReturnError() function
H A Dassign.cpp132 ReturnError(terminator, to.Allocate()); in Assign()
134 ReturnError(terminator, Initialize(to, *toDerived, terminator)); in Assign()
H A Dderived.cpp37 stat = ReturnError(terminator, allocDesc.Allocate(), errMsg, hasStat); in Initialize()
/llvm-project-15.0.7/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()
426 return ReturnError(TokStart, in LexDigit()
441 return ReturnError(TokStart, "invalid hexadecimal number"); in LexDigit()
454 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
504 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
510 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
532 return ReturnError(CurPtr-2, "invalid hexadecimal number"); in LexDigit()
596 return ReturnError(TokStart, "unterminated single quote"); in LexSingleQuote()
601 return ReturnError(TokStart, "single quote way too long"); in LexSingleQuote()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h60 AsmToken ReturnError(const char *Loc, const std::string &Msg);
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringActionRulesTest.cpp147 TEST_F(RefactoringActionRulesTest, ReturnError) { in TEST_F() argument