aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm-c/TargetMachine.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2013-04-04 17:40:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2013-04-04 17:40:53 +0000
commit2e254d041e12928fd665d3aefcf3e83972901fc7 (patch)
tree1ec717154470ee7fbb2ab2cd3e555baccd12e637 /llvm/include/llvm-c/TargetMachine.h
parent8f45ddf5d9951e7a1245a8f8c5e9c2a460f647bb (diff)
downloadllvm-2e254d041e12928fd665d3aefcf3e83972901fc7.zip
llvm-2e254d041e12928fd665d3aefcf3e83972901fc7.tar.gz
llvm-2e254d041e12928fd665d3aefcf3e83972901fc7.tar.bz2
Revert r178713
llvm-svn: 178769
Diffstat (limited to 'llvm/include/llvm-c/TargetMachine.h')
-rw-r--r--llvm/include/llvm-c/TargetMachine.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/include/llvm-c/TargetMachine.h b/llvm/include/llvm-c/TargetMachine.h
index e6f477a..691abdf 100644
--- a/llvm/include/llvm-c/TargetMachine.h
+++ b/llvm/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