diff options
author | Evan Cheng <evan.cheng@apple.com> | 2013-04-04 17:40:53 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2013-04-04 17:40:53 +0000 |
commit | 9313da5a90838c7242101dae250e86dcfc708e6a (patch) | |
tree | 793f09133621e9668694a49499b974ea7fb76883 /include/llvm-c/Core.h | |
parent | ed89568948f56eaf43f79e3e7178be7ae6933f1f (diff) | |
download | llvm-9313da5a90838c7242101dae250e86dcfc708e6a.tar.gz llvm-9313da5a90838c7242101dae250e86dcfc708e6a.tar.bz2 llvm-9313da5a90838c7242101dae250e86dcfc708e6a.tar.xz |
Revert r178713
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r-- | include/llvm-c/Core.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index cc78b2e6fd..e85fb97505 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -17,15 +17,14 @@ #include "llvm/Support/DataTypes.h" -#if defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) +#ifdef __cplusplus + /* Need these includes to support the LLVM 'cast' template for the C++ 'wrap' and 'unwrap' conversion functions. */ #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Module.h" #include "llvm/PassRegistry.h" -#endif /* defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) */ -#ifdef __cplusplus extern "C" { #endif @@ -2670,9 +2669,7 @@ LLVMBool LLVMIsMultithreaded(); #ifdef __cplusplus } -#endif -#if defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) namespace llvm { class MemoryBuffer; class PassManagerBase; @@ -2766,6 +2763,6 @@ namespace llvm { } } -#endif /* defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) */ +#endif /* !defined(__cplusplus) */ -#endif /* defined(LLVM_C_CORE_H) */ +#endif /* !defined(LLVM_C_CORE_H) */ |