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.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/include/llvm-c/Types.h b/include/llvm-c/Types.h
index d63ea4de933d..4a33542e86cc 100644
--- a/include/llvm-c/Types.h
+++ b/include/llvm-c/Types.h
@@ -7,14 +7,14 @@
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
-|* This file defines types used by the the C interface to LLVM. *|
+|* This file defines types used by the C interface to LLVM. *|
|* *|
\*===----------------------------------------------------------------------===*/
#ifndef LLVM_C_TYPES_H
#define LLVM_C_TYPES_H
-#include "llvm/Support/DataTypes.h"
+#include "llvm-c/DataTypes.h"
#ifdef __cplusplus
extern "C" {
@@ -135,6 +135,21 @@ typedef struct LLVMOpaqueAttributeRef *LLVMAttributeRef;
typedef struct LLVMOpaqueDiagnosticInfo *LLVMDiagnosticInfoRef;
/**
+ * @see llvm::Comdat
+ */
+typedef struct LLVMComdat *LLVMComdatRef;
+
+/**
+ * @see llvm::Module::ModuleFlagEntry
+ */
+typedef struct LLVMOpaqueModuleFlagEntry LLVMModuleFlagEntry;
+
+/**
+ * @see llvm::JITEventListener
+ */
+typedef struct LLVMOpaqueJITEventListener *LLVMJITEventListenerRef;
+
+/**
* @}
*/