summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-03-30 15:42:36 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-03-30 15:42:36 +0000
commit075759aaddb1daf9aa801fc75a0909c510081f6d (patch)
tree88e604bd3bfca09b26acf2438fff4a82a41b4de6 /llvm/lib/Support/GraphWriter.cpp
parentbbe1756a8c55bb0195bcbe257cfff4b73d94c8ac (diff)
downloadbcm5719-llvm-075759aaddb1daf9aa801fc75a0909c510081f6d.tar.gz
bcm5719-llvm-075759aaddb1daf9aa801fc75a0909c510081f6d.zip
Remove more superfluous .str() and replace std::string concatenation with Twine.
Following r233392, http://llvm.org/viewvc/llvm-project?rev=233392&view=rev. llvm-svn: 233555
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r--llvm/lib/Support/GraphWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index fd4ce54838b..c28dd70def6 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/lib/Support/GraphWriter.cpp
@@ -92,7 +92,7 @@ static bool ExecGraphViewer(StringRef ExecPath, std::vector<const char *> &args,
errs() << " done. \n";
} else {
sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg);
- errs() << "Remember to erase graph file: " << Filename.str() << "\n";
+ errs() << "Remember to erase graph file: " << Filename << "\n";
}
return false;
}
OpenPOWER on IntegriCloud