summaryrefslogtreecommitdiff
path: root/lib/VMCore/LLVMContext.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-31 21:35:40 +0000
committerOwen Anderson <resistor@mac.com>2009-07-31 21:35:40 +0000
commit647e3016de18d2fc8b0f233a0b356809e3fdcc54 (patch)
treeb7139544af240b94b3627101328ed7a81e3b9580 /lib/VMCore/LLVMContext.cpp
parentfeba7562ec3420b52d9d395ae4b279157c55586b (diff)
downloadllvm-647e3016de18d2fc8b0f233a0b356809e3fdcc54.tar.gz
llvm-647e3016de18d2fc8b0f233a0b356809e3fdcc54.tar.bz2
llvm-647e3016de18d2fc8b0f233a0b356809e3fdcc54.tar.xz
Move the metadata constructors back to 2.5 syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContext.cpp')
-rw-r--r--lib/VMCore/LLVMContext.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/VMCore/LLVMContext.cpp b/lib/VMCore/LLVMContext.cpp
index 107905f40a..3cd715866e 100644
--- a/lib/VMCore/LLVMContext.cpp
+++ b/lib/VMCore/LLVMContext.cpp
@@ -31,21 +31,3 @@ LLVMContext& llvm::getGlobalContext() {
LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { }
LLVMContext::~LLVMContext() { delete pImpl; }
-
-// MDNode accessors
-MDNode* LLVMContext::getMDNode(Value* const* Vals, unsigned NumVals) {
- return pImpl->getMDNode(Vals, NumVals);
-}
-
-// MDString accessors
-MDString* LLVMContext::getMDString(const StringRef &Str) {
- return pImpl->getMDString(Str.data(), Str.size());
-}
-
-void LLVMContext::erase(MDString *M) {
- pImpl->erase(M);
-}
-
-void LLVMContext::erase(MDNode *M) {
- pImpl->erase(M);
-}