LLVM  14.0.0git
Macros | Typedefs | Functions | Variables
Error.h File Reference
#include "llvm-c/ExternC.h"
Include dependency graph for Error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LLVMErrorSuccess   0
 

Typedefs

typedef struct LLVMOpaqueError * LLVMErrorRef
 Opaque reference to an error instance. More...
 

Functions

LLVMErrorTypeId LLVMGetErrorTypeId (LLVMErrorRef Err)
 Returns the type id for the given error instance, which must be a failure value (i.e. More...
 
void LLVMConsumeError (LLVMErrorRef Err)
 Dispose of the given error without handling it. More...
 
char * LLVMGetErrorMessage (LLVMErrorRef Err)
 Returns the given string's error message. More...
 
void LLVMDisposeErrorMessage (char *ErrMsg)
 Dispose of the given error message. More...
 
LLVMErrorTypeId LLVMGetStringErrorTypeId (void)
 Returns the type id for llvm StringError. More...
 
LLVMErrorRef LLVMCreateStringError (const char *ErrMsg)
 Create a StringError. More...
 

Variables

const typedef void * LLVMErrorTypeId
 Error type identifier. More...