summaryrefslogtreecommitdiff
path: root/tools/sancov
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
commita87dfbab4cbdcb77c94165221a3352724301e857 (patch)
tree1cd2e0a947b406b5242b8e40fd1773692bded3a8 /tools/sancov
parent2bf034783553b6b4ed9cce486029113784672ef1 (diff)
[sancov] typo fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/sancov')
-rw-r--r--tools/sancov/sancov.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sancov/sancov.cc b/tools/sancov/sancov.cc
index 34dacec9816..d7dd8b67492 100644
--- a/tools/sancov/sancov.cc
+++ b/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";