aboutsummaryrefslogtreecommitdiff
path: root/include/llvm-c/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm-c/Types.h')
-rw-r--r--include/llvm-c/Types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/llvm-c/Types.h b/include/llvm-c/Types.h
index 3d472a6bf47d..d63ea4de933d 100644
--- a/include/llvm-c/Types.h
+++ b/include/llvm-c/Types.h
@@ -83,6 +83,13 @@ typedef struct LLVMOpaqueValue *LLVMValueRef;
typedef struct LLVMOpaqueBasicBlock *LLVMBasicBlockRef;
/**
+ * Represents an LLVM Metadata.
+ *
+ * This models llvm::Metadata.
+ */
+typedef struct LLVMOpaqueMetadata *LLVMMetadataRef;
+
+/**
* Represents an LLVM basic block builder.
*
* This models llvm::IRBuilder.
@@ -90,6 +97,13 @@ typedef struct LLVMOpaqueBasicBlock *LLVMBasicBlockRef;
typedef struct LLVMOpaqueBuilder *LLVMBuilderRef;
/**
+ * Represents an LLVM debug info builder.
+ *
+ * This models llvm::DIBuilder.
+ */
+typedef struct LLVMOpaqueDIBuilder *LLVMDIBuilderRef;
+
+/**
* Interface used to provide a module to JIT or interpreter.
* This is now just a synonym for llvm::Module, but we have to keep using the
* different type to keep binary compatibility.