Home
last modified time | relevance | path

Searched refs:ParseError (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp52 class ParseError : public llvm::ErrorInfo<ParseError> { class
57 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) in ParseError() function in __anon28198e1b0111::ParseError
77 char ParseError::ID;
132 return llvm::make_error<ParseError>(Pos, std::move(ErrorMsg), in makeParseError()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp132 static bool ParseError(const char *Err, const std::string &Line) { in ParseError() function
145 return ParseError("no space in the trace line", Line); in ParseDFTLine()
147 return ParseError("the trace line doesn't start with 'F'", Line); in ParseDFTLine()
155 return ParseError("the trace should contain only 0 or 1", Line); in ParseDFTLine()
234 return ParseError("N is greater than the number of functions", L); in Init()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLLexer.h84 bool ParseError(LocTy ErrorLoc, const Twine &Msg) { in ParseError() function
88 bool ParseError(const Twine &Msg) { return ParseError(getLoc(), Msg); } in ParseError() function
H A DLLParser.h213 bool error(LocTy L, const Twine &Msg) { return Lex.ParseError(L, Msg); } in error()
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkInstructionMix.cpp87 bool ParseError = Arg.Val.getAsInteger(10, Val); in INPUT_OUTPUT_COMMAND_LINE_OPTIONS() local
88 assert(!ParseError); in INPUT_OUTPUT_COMMAND_LINE_OPTIONS()
89 (void)ParseError; in INPUT_OUTPUT_COMMAND_LINE_OPTIONS()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSpecialCaseList.cpp116 std::string ParseError; in createInternal() local
117 if (!parse(i, FileOrErr.get().get(), ParseError)) { in createInternal()
118 Error = (Twine("error parsing file '") + Path + "': " + ParseError).str(); in createInternal()
H A DJSON.cpp680 std::make_unique<ParseError>(Msg, Line, P - StartOfLine, P - Start)); in parseError()
693 char ParseError::ID = 0;
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp1336 std::error_code make_error_code(ParseError e) { in make_error_code()
1350 switch (static_cast<ParseError>(EV)) { in message()
1351 case ParseError::Success: in message()
1353 case ParseError::Error: in message()
1355 case ParseError::Unsuitable: in message()
1357 case ParseError::BinPackTrailingCommaConflict: in message()
1359 case ParseError::InvalidQualifierSpecified: in message()
1361 case ParseError::DuplicateQualifierSpecified: in message()
1363 case ParseError::MissingQualifierType: in message()
1365 case ParseError::MissingQualifierOrder: in message()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1157 bool &ParseError, SMLoc &End);
1159 bool &ParseError, SMLoc &End);
1830 bool &ParseError, SMLoc &End) { in ParseIntelNamedOperator() argument
1855 ParseError = ParseIntelOffsetOperator(Val, ID, Info, End); in ParseIntelNamedOperator()
1856 if (ParseError) in ParseIntelNamedOperator()
1859 ParseError = in ParseIntelNamedOperator()
1861 if (ParseError) in ParseIntelNamedOperator()
1872 bool &ParseError, SMLoc &End) { in ParseMasmNamedOperator() argument
2041 bool ParseError = false; in ParseIntelExpression() local
2042 if (ParseIntelNamedOperator(Identifier, SM, ParseError, End)) { in ParseIntelExpression()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h35 enum class ParseError { enum
51 std::error_code make_error_code(ParseError e);
5830 struct std::is_error_code_enum<clang::format::ParseError> : std::true_type {};
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp713 Error ParseError = getLocationTable().visitAbsoluteLocationList( in findLoclistFromOffset() local
725 if (ParseError || InterpretationError) in findLoclistFromOffset()
726 return joinErrors(std::move(ParseError), std::move(InterpretationError)); in findLoclistFromOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h912 class ParseError : public llvm::ErrorInfo<ParseError> {
918 ParseError(const char *Msg, unsigned Line, unsigned Column, unsigned Offset) in ParseError() function
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp1957 std::move(E), [&](const SymbolRemappingParseError &ParseError) { in create() argument
1959 ParseError.getLineNum(), in create()
1960 ParseError.getMessage())); in create()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp197 class JSONStubError : public llvm::ErrorInfo<llvm::json::ParseError> {
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp107 bool ParseError = false; member
2256 Info.ParseError = ParseHadError; in parseAndMatchAndEmitTargetInstruction()
5951 if (StatementErr || Info.ParseError) { in parseMSInlineAsm()
H A DMasmParser.cpp101 bool ParseError = false; member
2310 Info.ParseError = ParseHadError; in parseStatement()
5908 if (StatementErr || Info.ParseError) { in parseMSInlineAsm()