diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-24 22:42:39 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-24 22:42:39 +0000 |
commit | e8eb2367d282160c24623110bc8ff7fbb098324d (patch) | |
tree | d32a22021a55f5a31178e986add15eb5edfbe640 /include/llvm | |
parent | da3388bae6b9085bfa0c04e039b5d35b32f60047 (diff) | |
download | external_llvm-e8eb2367d282160c24623110bc8ff7fbb098324d.zip external_llvm-e8eb2367d282160c24623110bc8ff7fbb098324d.tar.gz external_llvm-e8eb2367d282160c24623110bc8ff7fbb098324d.tar.bz2 |
Add constructor to create MDString using std::string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Constants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 52fff20..da69d25 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -865,6 +865,7 @@ public: /// get() - Static factory methods - Return objects of the specified value. /// static MDString *get(const char *StrBegin, const char *StrEnd); + static MDString *get(const std::string &Str); /// size() - The length of this string. /// |