LLVM: llvm::MachO::TextAPIError Class Reference (original) (raw)
#include "[llvm/TextAPI/TextAPIError.h](TextAPIError%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| TextAPIError (TextAPIErrorCode EC) | |
| TextAPIError (TextAPIErrorCode EC, std::string Msg) | |
| 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. | |
| Public Member Functions inherited from llvm::ErrorInfo< TextAPIError > | |
| const void * | dynamicClassID () const override |
| bool | isA (const void *const ClassID) const override |
| Public Member Functions inherited from llvm::ErrorInfoBase | |
| virtual | ~ErrorInfoBase ()=default |
| virtual std::string | message () const |
| Return the error message as a string. | |
| template | |
| bool | isA () const |
| Static Public Attributes | |
|---|---|
| static char | ID = 0 |
Definition at line 29 of file TextAPIError.h.
◆ TextAPIError() [2/2]
| llvm::MachO::TextAPIError::TextAPIError ( TextAPIErrorCode EC, std::string Msg ) | inline |
|---|
◆ convertToErrorCode()
| std::error_code TextAPIError::convertToErrorCode ( ) const | overridevirtual |
|---|
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 37 of file TextAPIError.cpp.
References llvm_unreachable.
◆ log()
| void TextAPIError::log ( raw_ostream & OS) const | overridevirtual |
|---|
◆ EC
◆ ID
| char TextAPIError::ID = 0 | static |
|---|
◆ Msg
std::string llvm::MachO::TextAPIError::Msg
The documentation for this class was generated from the following files:
- include/llvm/TextAPI/TextAPIError.h
- lib/TextAPI/TextAPIError.cpp