Go to the source code of this file.
◆ LLVMErrorSuccess
#define LLVMErrorSuccess 0 |
◆ LLVMErrorRef
Opaque reference to an error instance.
Null serves as the 'success' value.
Definition at line 26 of file Error.h.
◆ LLVMErrorTypeId
Error type identifier.
Definition at line 31 of file Error.h.
◆ LLVMConsumeError()
Dispose of the given error without handling it.
This operation consumes the error, and the given LLVMErrorRef value is not usable once this call returns. Note: This method only needs to be called if the error is not being passed to some other consuming operation, e.g. LLVMGetErrorMessage.
Definition at line 156 of file Error.cpp.
◆ LLVMDisposeErrorMessage()
void LLVMDisposeErrorMessage |
( |
char * |
ErrMsg | ) |
|
Dispose of the given error message.
Definition at line 166 of file Error.cpp.
◆ LLVMGetErrorMessage()
Returns the given string's error message.
This operation consumes the error, and the given LLVMErrorRef value is not usable once this call returns. The caller is responsible for disposing of the string by calling LLVMDisposeErrorMessage.
Definition at line 158 of file Error.cpp.
◆ LLVMGetErrorTypeId()
Returns the type id for the given error instance, which must be a failure value (i.e.
non-null).
Definition at line 152 of file Error.cpp.
◆ LLVMGetStringErrorTypeId()
Returns the type id for llvm StringError.
Definition at line 168 of file Error.cpp.