LLVM
15.0.0git
|
#include "Remarks/YAMLRemarkParser.h"
Public Member Functions | |
YAMLParseError (StringRef Message, SourceMgr &SM, yaml::Stream &Stream, yaml::Node &Node) | |
YAMLParseError (StringRef Message) | |
void | log (raw_ostream &OS) const override |
Print an error message to an output stream. More... | |
std::error_code | convertToErrorCode () const override |
Convert this error to a std::error_code. More... | |
![]() | |
const void * | dynamicClassID () const override |
bool | isA (const void *const ClassID) const override |
![]() | |
virtual | ~ErrorInfoBase ()=default |
virtual std::string | message () const |
Return the error message as a string. More... | |
virtual const void * | dynamicClassID () const =0 |
template<typename ErrorInfoT > | |
bool | isA () const |
Static Public Attributes | |
static char | ID = 0 |
Additional Inherited Members | |
![]() | |
static const void * | classID () |
![]() | |
static const void * | classID () |
Definition at line 29 of file YAMLRemarkParser.h.
YAMLParseError::YAMLParseError | ( | StringRef | Message, |
SourceMgr & | SM, | ||
yaml::Stream & | Stream, | ||
yaml::Node & | Node | ||
) |
Definition at line 35 of file YAMLRemarkParser.cpp.
|
inline |
Definition at line 36 of file YAMLRemarkParser.h.
References string.
|
inlineoverridevirtual |
Convert this error to a std::error_code.
This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.
Implements llvm::ErrorInfoBase.
Definition at line 39 of file YAMLRemarkParser.h.
References llvm::inconvertibleErrorCode().
|
inlineoverridevirtual |
Print an error message to an output stream.
Implements llvm::ErrorInfoBase.
Definition at line 38 of file YAMLRemarkParser.h.
|
static |
Definition at line 31 of file YAMLRemarkParser.h.