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
This commit is contained in:
Vikram S. Adve 2001-10-14 23:16:27 +00:00
parent 519c6fc354
commit c9abc6528d

View File

@ -213,7 +213,8 @@ protected:
virtual void destroyConstant();
public:
static ConstPoolArray *get(const ArrayType *T, const vector<ConstPoolVal*> &);
static ConstPoolArray *get(const string& stringConstant);
virtual string getStrValue() const;
inline const vector<Use> &getValues() const { return Operands; }