Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp60 class ParseError : public llvm::ErrorInfo<ParseError> { class
65 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) in ParseError() function in __anon02b245cf0111::ParseError
85 char ParseError::ID;
140 return llvm::make_error<ParseError>(Pos, std::move(ErrorMsg), in makeParseError()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSpecialCaseList.cpp109 std::string ParseError; in createInternal() local
110 if (!parse(FileOrErr.get().get(), Sections, ParseError)) { in createInternal()
111 Error = (Twine("error parsing file '") + Path + "': " + ParseError).str(); in createInternal()
H A DJSON.cpp662 std::make_unique<ParseError>(Msg, Line, P - StartOfLine, P - Start)); in parseError()
676 char ParseError::ID = 0;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h39 enum class ParseError { enum
51 std::error_code make_error_code(ParseError e);
3820 struct is_error_code_enum<clang::format::ParseError> : std::true_type {};
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp843 std::error_code make_error_code(ParseError e) { in make_error_code()
857 switch (static_cast<ParseError>(EV)) { in message()
858 case ParseError::Success: in message()
860 case ParseError::Error: in message()
862 case ParseError::Unsuitable: in message()
864 case ParseError::BinPackTrailingCommaConflict: in message()
1482 return make_error_code(ParseError::Error); in parseConfiguration()
1500 return make_error_code(ParseError::Error); in parseConfiguration()
1507 return make_error_code(ParseError::Error); in parseConfiguration()
1535 return make_error_code(ParseError::Success); in parseConfiguration()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h802 class ParseError : public llvm::ErrorInfo<ParseError> {
808 ParseError(const char *Msg, unsigned Line, unsigned Column, unsigned Offset) in ParseError() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1104 bool &ParseError, SMLoc &End);
1106 bool &ParseError, SMLoc &End);
1806 ParseError = ParseIntelOffsetOperator(Val, ID, Info, End); in ParseIntelNamedOperator()
1807 if (ParseError) in ParseIntelNamedOperator()
1810 ParseError = in ParseIntelNamedOperator()
1812 if (ParseError) in ParseIntelNamedOperator()
1981 bool ParseError = false; in ParseIntelExpression() local
1982 if (ParseIntelNamedOperator(Identifier, SM, ParseError, End)) { in ParseIntelExpression()
1983 if (ParseError) in ParseIntelExpression()
1988 ParseMasmNamedOperator(Identifier, SM, ParseError, End)) { in ParseIntelExpression()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp657 Error ParseError = getLocationTable().visitAbsoluteLocationList( in findLoclistFromOffset() local
669 if (ParseError || InterpretationError) in findLoclistFromOffset()
670 return joinErrors(std::move(ParseError), std::move(InterpretationError)); in findLoclistFromOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp1675 std::move(E), [&](const SymbolRemappingParseError &ParseError) { in create() argument
1677 ParseError.getLineNum(), in create()
1678 ParseError.getMessage())); in create()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp110 bool ParseError = false; member
2318 Info.ParseError = ParseHadError; in parseAndMatchAndEmitTargetInstruction()
5961 if (StatementErr || Info.ParseError) { in parseMSInlineAsm()
H A DMasmParser.cpp112 bool ParseError = false; member
2713 Info.ParseError = ParseHadError; in parseStatement()
7419 if (StatementErr || Info.ParseError) { in parseMSInlineAsm()