summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Target.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/Target.h
parent8f45ddf5d9951e7a1245a8f8c5e9c2a460f647bb (diff)
downloadbcm5719-llvm-2e254d041e12928fd665d3aefcf3e83972901fc7.tar.gz
bcm5719-llvm-2e254d041e12928fd665d3aefcf3e83972901fc7.zip
Revert r178713
llvm-svn: 178769
Diffstat (limited to 'llvm/include/llvm-c/Target.h')
-rw-r--r--llvm/include/llvm-c/Target.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h
index 0327c04f177..57abfa0207f 100644
--- a/llvm/include/llvm-c/Target.h
+++ b/llvm/include/llvm-c/Target.h
@@ -235,9 +235,7 @@ void LLVMDisposeTargetData(LLVMTargetDataRef);
#ifdef __cplusplus
}
-#endif
-#if defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS)
namespace llvm {
class DataLayout;
class TargetLibraryInfo;
@@ -259,6 +257,7 @@ namespace llvm {
return reinterpret_cast<LLVMTargetLibraryInfoRef>(X);
}
}
-#endif /* defined(__cplusplus) && !defined(LLVM_DO_NOT_INCLUDE_CPP_HEADERS) */
+
+#endif /* defined(__cplusplus) */
#endif
OpenPOWER on IntegriCloud