diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 06:02:13 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 06:02:13 +0000 |
commit | 92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2 (patch) | |
tree | 79e29e5f8e24b6c70ff964e42d9b438c3b11eddf /lib/AsmParser/LLParser.cpp | |
parent | 8b5ee823c2393d15c74e2dda0c46f8a2c6f40dc8 (diff) |
Finish migrating VMCore to StringRef/Twine based APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 60fc8ade7a..00db4debda 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -373,7 +373,7 @@ bool LLParser::ParseNamedGlobal() { bool LLParser::ParseMDString(MetadataBase *&MDS) { std::string Str; if (ParseStringConstant(Str)) return true; - MDS = Context.getMDString(Str.data(), Str.size()); + MDS = Context.getMDString(Str); return false; } |