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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp60 class ParseError : public llvm::ErrorInfo<ParseError> { class in namespace:__anon2421
65 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) function in class:__anon2421::ParseError
85 char ParseError::ID;
140 return llvm::make_error<ParseError>(Pos, std::move(ErrorMsg),
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp131 static bool ParseError(const char *Err, const std::string &Line) { function
144 return ParseError("no space in the trace line", Line);
146 return ParseError("the trace line doesn't start with 'F'", Line);
154 return ParseError("the trace should contain only 0 or 1", Line);
232 return ParseError("N is greater than the number of functions", L);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DSpecialCaseList.cpp109 std::string ParseError; local
110 if (!parse(FileOrErr.get().get(), Sections, ParseError)) {
111 Error = (Twine("error parsing file '") + Path + "': " + ParseError).str();
H A DJSON.cpp505 std::make_unique<ParseError>(Msg, Line, P - StartOfLine, P - Start));
519 char ParseError::ID = 0;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp675 std::error_code make_error_code(ParseError e) {
689 switch (static_cast<ParseError>(EV)) {
690 case ParseError::Success:
692 case ParseError::Error:
694 case ParseError::Unsuitable:
696 case ParseError::BinPackTrailingCommaConflict:
1283 return make_error_code(ParseError::Error);
1299 return make_error_code(ParseError::Error);
1306 return make_error_code(ParseError::Error);
1323 return make_error_code(ParseError
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h38 enum class ParseError { class in namespace:clang::format
50 std::error_code make_error_code(ParseError e);
2681 struct is_error_code_enum<clang::format::ParseError> : std::true_type {};
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp691 Error ParseError = getLocationTable().visitAbsoluteLocationList( local
703 if (ParseError || InterpretationError)
704 return joinErrors(std::move(ParseError), std::move(InterpretationError));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h685 /// Parses the provided JSON source, or returns a ParseError.
690 class ParseError : public llvm::ErrorInfo<ParseError> { class in namespace:llvm::json
696 ParseError(const char *Msg, unsigned Line, unsigned Column, unsigned Offset) function in class:llvm::json::ParseError
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp1380 std::move(E), [&](const SymbolRemappingParseError &ParseError) {
1382 ParseError.getLineNum(),
1383 ParseError.getMessage()));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp911 bool &ParseError, SMLoc &End);
1584 bool &ParseError, SMLoc &End) {
1607 ParseError = ParseIntelOffsetOperator(Val, ID, Info, End);
1608 if (ParseError)
1611 ParseError =
1613 if (ParseError)
1701 bool ParseError = false; local
1702 if (ParseIntelNamedOperator(Identifier, SM, ParseError, End)) {
1703 if (ParseError)
1582 ParseIntelNamedOperator(StringRef Name, IntelExprStateMachine &SM, bool &ParseError, SMLoc &End) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp109 bool ParseError = false; member in struct:__anon3719::ParseStatementInfo
2216 Info.ParseError = ParseHadError;
5813 if (StatementErr || Info.ParseError) {
H A DMasmParser.cpp106 bool ParseError = false; member in struct:__anon3727::ParseStatementInfo
2367 Info.ParseError = ParseHadError;
6634 if (StatementErr || Info.ParseError) {

Completed in 293 milliseconds