From c9abc6528df2e50b9951fb45acedf7e3bcd4617b Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sun, 14 Oct 2001 23:16:27 +0000 Subject: [PATCH] Added routine to create a char array for a string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@798 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ConstPoolVals.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h index fa50a6b1ace..be245abd7b3 100644 --- a/include/llvm/ConstPoolVals.h +++ b/include/llvm/ConstPoolVals.h @@ -213,7 +213,8 @@ protected: virtual void destroyConstant(); public: static ConstPoolArray *get(const ArrayType *T, const vector &); - + static ConstPoolArray *get(const string& stringConstant); + virtual string getStrValue() const; inline const vector &getValues() const { return Operands; } -- 2.34.1