summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 06:02:13 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 06:02:13 +0000
commitd43b86d4a45f4cfc5b1e27d62ace35940a52e82b (patch)
tree1eac3c83e4d61f89c7cf156582d0e7734ccbd79a /llvm/lib/AsmParser/LLParser.cpp
parentfbea11ae66fd0b59a7d38a7f484c893b744cc78c (diff)
downloadbcm5719-llvm-d43b86d4a45f4cfc5b1e27d62ace35940a52e82b.tar.gz
bcm5719-llvm-d43b86d4a45f4cfc5b1e27d62ace35940a52e82b.zip
Finish migrating VMCore to StringRef/Twine based APIs.
llvm-svn: 77051
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 60fc8ade7ac..00db4debda0 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud