Searched defs:CParser (Results 1 – 1 of 1) sorted by relevance
111 struct CParser { struct112 std::unique_ptr<RemarkParser> TheParser;113 std::optional<std::string> Err;115 CParser(Format ParserFormat, StringRef Buf, in CParser() function121 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