diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-31 21:35:40 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-31 21:35:40 +0000 |
commit | 647e3016de18d2fc8b0f233a0b356809e3fdcc54 (patch) | |
tree | b7139544af240b94b3627101328ed7a81e3b9580 /lib/VMCore/LLVMContextImpl.h | |
parent | feba7562ec3420b52d9d395ae4b279157c55586b (diff) |
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/LLVMContextImpl.h')
-rw-r--r-- | lib/VMCore/LLVMContextImpl.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h index b20b65d7f2..7a29a8421f 100644 --- a/lib/VMCore/LLVMContextImpl.h +++ b/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); }; } |