summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-10-05 23:59:36 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-10-05 23:59:36 +0000
commit7330acdec79705e673ea0e09f31d808473e919ae (patch)
treea72217dcda62fffba8e5aaecbda8cf7d4ce02056 /llvm/lib/VMCore
parent5ee9cf6bca6ff166f456d26ab80aae5b7d72cfd8 (diff)
downloadbcm5719-llvm-7330acdec79705e673ea0e09f31d808473e919ae.tar.gz
bcm5719-llvm-7330acdec79705e673ea0e09f31d808473e919ae.zip
Removing the silly CHelpers header by rolling wrap and unwrap into the C
bindings headers themselves, hidden behind #ifdef __cplusplus. llvm-svn: 42666
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Core.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp
index f35951d45b0..b6a825462ae 100644
--- a/llvm/lib/VMCore/Core.cpp
+++ b/llvm/lib/VMCore/Core.cpp
@@ -17,25 +17,11 @@
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/GlobalVariable.h"
-#include "llvm/Support/CHelpers.h"
-#include "llvm/Support/LLVMBuilder.h"
#include "llvm/TypeSymbolTable.h"
#include <cassert>
using namespace llvm;
-namespace {
- /// Opaque builder conversions.
- ///
- inline LLVMBuilder *unwrap(LLVMBuilderRef B) {
- return reinterpret_cast<LLVMBuilder*>(B);
- }
-
- inline LLVMBuilderRef wrap(LLVMBuilder *B) {
- return reinterpret_cast<LLVMBuilderRef>(B);
- }
-}
-
/*===-- Operations on modules ---------------------------------------------===*/
OpenPOWER on IntegriCloud