aboutsummaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/LLVMContext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h
index 8afa4a523f..128175c566 100644
--- a/include/llvm/LLVMContext.h
+++ b/include/llvm/LLVMContext.h
@@ -32,6 +32,7 @@ class ConstantFP;
class ConstantVector;
class UndefValue;
class MDNode;
+class MDString;
class IntegerType;
class PointerType;
class StructType;
@@ -180,6 +181,10 @@ public:
// MDNode accessors
MDNode* getMDNode(Value* const* Vals, unsigned NumVals);
+ // MDString accessors
+ MDString* getMDString(const char *StrBegin, const char *StrEnd);
+ MDString* getMDString(const std::string &Str);
+
// FunctionType accessors
FunctionType* getFunctionType(const Type* Result,
const std::vector<const Type*>& Params,