aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Core.cpp
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
commitacd96191cd8d85f376ec0baafdc4f21b3042f677 (patch)
tree9cc333e5e58b4071e8aefc5c5e1e1e60fbb71819 /lib/VMCore/Core.cpp
parentbf287b63b33aafc07e29e91fd1ec00e92a6ad0c9 (diff)
downloadexternal_llvm-acd96191cd8d85f376ec0baafdc4f21b3042f677.zip
external_llvm-acd96191cd8d85f376ec0baafdc4f21b3042f677.tar.gz
external_llvm-acd96191cd8d85f376ec0baafdc4f21b3042f677.tar.bz2
Removing the silly CHelpers header by rolling wrap and unwrap into the C
bindings headers themselves, hidden behind #ifdef __cplusplus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Core.cpp')
-rw-r--r--lib/VMCore/Core.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp
index f35951d..b6a8254 100644
--- a/lib/VMCore/Core.cpp
+++ b/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 ---------------------------------------------===*/