Remove more superfluous .str() and replace std::string concatenation with Twine.
[oota-llvm.git] / lib / Support / GraphWriter.cpp
index fd4ce54838bcbd1e90465cc174ef2b24d29d886d..c28dd70def699bfc56fda6f0a68917c61ee7e3a0 100644 (file)
@@ -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;
 }