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 /include/llvm/LLVMContext.h | |
parent | feba7562ec3420b52d9d395ae4b279157c55586b (diff) | |
download | external_llvm-647e3016de18d2fc8b0f233a0b356809e3fdcc54.tar.gz external_llvm-647e3016de18d2fc8b0f233a0b356809e3fdcc54.tar.bz2 external_llvm-647e3016de18d2fc8b0f233a0b356809e3fdcc54.zip |
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 'include/llvm/LLVMContext.h')
-rw-r--r-- | include/llvm/LLVMContext.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 9150e6160e..038ee35aee 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -61,20 +61,11 @@ class LLVMContext { friend class ConstantArray; friend class ConstantVector; friend class ConstantAggregateZero; + friend class MDNode; + friend class MDString; public: LLVMContext(); ~LLVMContext(); - - // MDNode accessors - MDNode* getMDNode(Value* const* Vals, unsigned NumVals); - - // MDString accessors - MDString* getMDString(const StringRef &Str); - - - // Methods for erasing constants - void erase(MDString *M); - void erase(MDNode *M); }; /// FOR BACKWARDS COMPATIBILITY - Returns a global context. |