LLVM: llvm::CGDataError Class Reference (original) (raw)
#include "[llvm/CGData/CodeGenData.h](CodeGenData%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| CGDataError (cgdata_error Err, const Twine &ErrStr=Twine()) | |
| std::string | message () const override |
| Return the error message as a string. | |
| void | log (raw_ostream &OS) const override |
| Print an error message to an output stream. | |
| std::error_code | convertToErrorCode () const override |
| Convert this error to a std::error_code. | |
| cgdata_error | get () const |
| const std::string & | getMessage () const |
| Public Member Functions inherited from llvm::ErrorInfo< CGDataError > | |
| const void * | dynamicClassID () const override |
| bool | isA (const void *const ClassID) const override |
| Public Member Functions inherited from llvm::ErrorInfoBase | |
| virtual | ~ErrorInfoBase ()=default |
| template | |
| bool | isA () const |
| Static Public Member Functions | |
|---|---|
| static std::pair< cgdata_error, std::string > | take (Error E) |
| Consume an Error and return the raw enum value contained within it, and the optional error message. | |
| Static Public Member Functions inherited from llvm::ErrorInfo< CGDataError > | |
| static const void * | classID () |
| Static Public Member Functions inherited from llvm::ErrorInfoBase | |
| static const void * | classID () |
| Static Public Attributes | |
|---|---|
| static char | ID = 0 |
Definition at line 67 of file CodeGenData.h.
◆ convertToErrorCode()
| std::error_code llvm::CGDataError::convertToErrorCode ( ) const | inlineoverridevirtual |
|---|
◆ get()
◆ getMessage()
| const std::string & llvm::CGDataError::getMessage ( ) const | inline |
|---|
◆ log()
| void llvm::CGDataError::log ( raw_ostream & OS) const | inlineoverridevirtual |
|---|
◆ message()
| std::string CGDataError::message ( ) const | overridevirtual |
|---|
◆ take()
| std::pair< cgdata_error, std::string > llvm::CGDataError::take ( Error E) | inlinestatic |
|---|
◆ ID
The documentation for this class was generated from the following files:
- include/llvm/CGData/CodeGenData.h
- lib/CGData/CodeGenData.cpp