diff options
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 9150e61..038ee35 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. |