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/TargetMachine.h | |
parent | ed89568948f56eaf43f79e3e7178be7ae6933f1f (diff) |
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/TargetMachine.h')
-rw-r--r-- | include/llvm-c/TargetMachine.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm-c/TargetMachine.h b/include/llvm-c/TargetMachine.h index e6f477af78..691abdfcb4 100644 --- a/include/llvm-c/TargetMachine.h +++ b/include/llvm-c/TargetMachine.h @@ -119,9 +119,7 @@ LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, #ifdef __cplusplus } -#endif -#if defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) namespace llvm { class TargetMachine; class Target; @@ -140,6 +138,6 @@ namespace llvm { return reinterpret_cast<LLVMTargetRef>(const_cast<Target*>(P)); } } -#endif /* defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) */ +#endif #endif |