14 #ifndef LLVM_C_ERROR_H 15 #define LLVM_C_ERROR_H 21 #define LLVMErrorSuccess 0 LLVMErrorTypeId LLVMGetStringErrorTypeId()
Returns the type id for llvm StringError.
void LLVMConsumeError(LLVMErrorRef Err)
Dispose of the given error without handling it.
struct LLVMOpaqueError * LLVMErrorRef
Opaque reference to an error instance.
char * LLVMGetErrorMessage(LLVMErrorRef Err)
Returns the given string's error message.
const void * LLVMErrorTypeId
Error type identifier.
void LLVMDisposeErrorMessage(char *ErrMsg)
Dispose of the given error message.
LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err)
Returns the type id for the given error instance, which must be a failure value (i.e.