summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Support.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-12-18 01:46:52 +0000
committerEric Christopher <echristo@gmail.com>2015-12-18 01:46:52 +0000
commita6b96004b57375ed60a8d56b979dc4a900be6c9e (patch)
tree1fdf2b063425a8da01c3204142f185493b52aa0e /llvm/include/llvm-c/Support.h
parent51b9de4c7cd305927727455be24a496a867b0b23 (diff)
downloadbcm5719-llvm-a6b96004b57375ed60a8d56b979dc4a900be6c9e.tar.gz
bcm5719-llvm-a6b96004b57375ed60a8d56b979dc4a900be6c9e.zip
Reorganize the C API headers to improve build times.
Type specific declarations have been moved to Type.h and error handling routines have been moved to ErrorHandling.h. Both are included in Core.h so nothing should change for projects directly including the headers, but transitive dependencies may be affected. llvm-svn: 255965
Diffstat (limited to 'llvm/include/llvm-c/Support.h')
-rw-r--r--llvm/include/llvm-c/Support.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/llvm/include/llvm-c/Support.h b/llvm/include/llvm-c/Support.h
index eca3b7a4203..735d1fbc78c 100644
--- a/llvm/include/llvm-c/Support.h
+++ b/llvm/include/llvm-c/Support.h
@@ -15,31 +15,13 @@
#define LLVM_C_SUPPORT_H
#include "llvm/Support/DataTypes.h"
+#include "llvm-c/Types.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
- * @defgroup LLVMCSupportTypes Types and Enumerations
- *
- * @{
- */
-
-typedef int LLVMBool;
-
-/**
- * Used to pass regions of memory through LLVM interfaces.
- *
- * @see llvm::MemoryBuffer
- */
-typedef struct LLVMOpaqueMemoryBuffer *LLVMMemoryBufferRef;
-
-/**
- * @}
- */
-
-/**
* This function permanently loads the dynamic library at the given path.
* It is safe to call this function multiple times for the same library.
*
OpenPOWER on IntegriCloud