summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2016-03-18 22:46:10 +0000
committerMike Aizatsky <aizatsky@chromium.org>2016-03-18 22:46:10 +0000
commit86bc631793a7a8ba912a97b5da082f2ade1417a1 (patch)
tree6c76bcd3fbc3e1e13b99cec57893214266cc8c09
parent5577c16b719c638b7b079e7481abf0485ac2d3e9 (diff)
downloadbcm5719-llvm-86bc631793a7a8ba912a97b5da082f2ade1417a1.tar.gz
bcm5719-llvm-86bc631793a7a8ba912a97b5da082f2ade1417a1.zip
[sancov] typo fix
llvm-svn: 263849
-rw-r--r--llvm/tools/sancov/sancov.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/sancov/sancov.cc b/llvm/tools/sancov/sancov.cc
index 34dacec9816..d7dd8b67492 100644
--- a/llvm/tools/sancov/sancov.cc
+++ b/llvm/tools/sancov/sancov.cc
@@ -1049,8 +1049,8 @@ public:
}
void printReport(raw_ostream &OS) const {
- auto Title = std::string(llvm::sys::path::filename(MainObjFile) +
- " Coverage Report");
+ auto Title =
+ (llvm::sys::path::filename(MainObjFile) + " Coverage Report").str();
OS << "<html>\n";
OS << "<head>\n";
OpenPOWER on IntegriCloud