Home
last modified time | relevance | path

Searched defs:CParser (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkParser.cpp111 struct CParser { struct
112 std::unique_ptr<RemarkParser> TheParser;
113 std::optional<std::string> Err;
115 CParser(Format ParserFormat, StringRef Buf, in CParser() function
121 void handleError(Error E) { Err.emplace(toString(std::move(E))); } in handleError()
122 bool hasError() const { return Err.has_value(); } in hasError()
123 const char *getMessage() const { return Err ? Err->c_str() : nullptr; }; in getMessage()
128 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(CParser, LLVMRemarkParserRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument