summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContextImpl.h
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
commit0087fe6e5cdc677063a28ce42205ffefbd1ab191 (patch)
tree90f14b4a060302a3a13505655173c20adb8a5c88 /llvm/lib/VMCore/LLVMContextImpl.h
parent0d5f37b81ab79103e5dd4ca46054292a947c676b (diff)
downloadbcm5719-llvm-0087fe6e5cdc677063a28ce42205ffefbd1ab191.tar.gz
bcm5719-llvm-0087fe6e5cdc677063a28ce42205ffefbd1ab191.zip
Move the metadata constructors back to 2.5 syntax.
llvm-svn: 77733
Diffstat (limited to 'llvm/lib/VMCore/LLVMContextImpl.h')
-rw-r--r--llvm/lib/VMCore/LLVMContextImpl.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h
index b20b65d7f21..7a29a8421f4 100644
--- a/llvm/lib/VMCore/LLVMContextImpl.h
+++ b/llvm/lib/VMCore/LLVMContextImpl.h
@@ -462,15 +462,10 @@ class LLVMContextImpl {
friend class ConstantArray;
friend class ConstantVector;
friend class ConstantAggregateZero;
+ friend class MDNode;
+ friend class MDString;
public:
LLVMContextImpl(LLVMContext &C);
-
- MDString *getMDString(const char *StrBegin, unsigned StrLength);
-
- MDNode *getMDNode(Value*const* Vals, unsigned NumVals);
-
- void erase(MDString *M);
- void erase(MDNode *M);
};
}
OpenPOWER on IntegriCloud