|
LLVM 22.0.0git
|
Go to the source code of this file.
Macros | |
| #define | LLVMErrorSuccess 0 |
Typedefs | |
| typedef struct LLVMOpaqueError * | LLVMErrorRef |
| Opaque reference to an error instance. | |
| typedef const void * | LLVMErrorTypeId |
| Error type identifier. | |
Functions | |
| LLVM_C_ABI LLVMErrorTypeId | LLVMGetErrorTypeId (LLVMErrorRef Err) |
| Returns the type id for the given error instance, which must be a failure value (i.e. | |
| LLVM_C_ABI void | LLVMConsumeError (LLVMErrorRef Err) |
| Dispose of the given error without handling it. | |
| LLVM_C_ABI void | LLVMCantFail (LLVMErrorRef Err) |
| Report a fatal error if Err is a failure value. | |
| LLVM_C_ABI char * | LLVMGetErrorMessage (LLVMErrorRef Err) |
| Returns the given string's error message. | |
| LLVM_C_ABI void | LLVMDisposeErrorMessage (char *ErrMsg) |
| Dispose of the given error message. | |
| LLVM_C_ABI LLVMErrorTypeId | LLVMGetStringErrorTypeId (void) |
| Returns the type id for llvm StringError. | |
| LLVM_C_ABI LLVMErrorRef | LLVMCreateStringError (const char *ErrMsg) |
| Create a StringError. | |