Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp59 class ParseError : public llvm::ErrorInfo<ParseError> { class
64 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) in ParseError() function in __anon28198e1b0111::ParseError
84 char ParseError::ID;
139 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/lib/Support/
H A DSpecialCaseList.cpp116 std::string ParseError; in createInternal()
117 if (!parse(FileOrErr.get().get(), ParseError)) { in createInternal()
118 Error = (Twine("error parsing file '") + Path + "': " + ParseError).str(); in createInternal()
105 std::string ParseError; createInternal() local
H A DJSON.cpp678 std::make_unique<ParseError>(Msg, Line, P - StartOfLine, P - Start)); in parseError()
691 char ParseError::ID = 0;
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp1245 std::error_code make_error_code(ParseError e) { in make_error_code()
1259 switch (static_cast<ParseError>(EV)) { in message()
1260 case ParseError::Success: in message()
1262 case ParseError::Error: in message()
1264 case ParseError::Unsuitable: in message()
1266 case ParseError::BinPackTrailingCommaConflict: in message()
1268 case ParseError::InvalidQualifierSpecified: in message()
1270 case ParseError::DuplicateQualifierSpecified: in message()
1272 case ParseError::MissingQualifierType: in message()
1274 case ParseError::MissingQualifierOrder: in message()
[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);
5478 struct std::is_error_code_enum<clang::format::ParseError> : std::true_type {};
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1135 bool &ParseError, SMLoc &End);
1137 bool &ParseError, SMLoc &End);
1809 bool &ParseError, SMLoc &End) { in ParseIntelNamedOperator() argument
1834 ParseError = ParseIntelOffsetOperator(Val, ID, Info, End); in ParseIntelNamedOperator()
1835 if (ParseError) in ParseIntelNamedOperator()
1838 ParseError = in ParseIntelNamedOperator()
1840 if (ParseError) in ParseIntelNamedOperator()
1851 bool &ParseError, SMLoc &End) { in ParseMasmNamedOperator() argument
2020 bool ParseError = false; in ParseIntelExpression() local
2021 if (ParseIntelNamedOperator(Identifier, SM, ParseError, End)) { in ParseIntelExpression()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h895 class ParseError : public llvm::ErrorInfo<ParseError> {
901 ParseError(const char *Msg, unsigned Line, unsigned Column, unsigned Offset) in ParseError() function
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp714 Error ParseError = getLocationTable().visitAbsoluteLocationList( in findLoclistFromOffset() local
726 if (ParseError || InterpretationError) in findLoclistFromOffset()
727 return joinErrors(std::move(ParseError), std::move(InterpretationError)); in findLoclistFromOffset()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp1873 std::move(E), [&](const SymbolRemappingParseError &ParseError) { in create() argument
1875 ParseError.getLineNum(), in create()
1876 ParseError.getMessage())); in create()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp170 class JSONStubError : public llvm::ErrorInfo<llvm::json::ParseError> {
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp108 bool ParseError = false; member
2327 Info.ParseError = ParseHadError; in parseAndMatchAndEmitTargetInstruction()
6015 if (StatementErr || Info.ParseError) { in parseMSInlineAsm()
H A DMasmParser.cpp106 bool ParseError = false; member
2662 Info.ParseError = ParseHadError; in parseStatement()
7372 if (StatementErr || Info.ParseError) { in parseMSInlineAsm()