[llvm] r263849 - [sancov] typo fix
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 18 15:46:11 PDT 2016
Author: aizatsky
Date: Fri Mar 18 17:46:10 2016
New Revision: 263849
URL: http://llvm.org/viewvc/llvm-project?rev=263849&view=rev
Log:
[sancov] typo fix
Modified:
llvm/trunk/tools/sancov/sancov.cc
Modified: llvm/trunk/tools/sancov/sancov.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/sancov/sancov.cc?rev=263849&r1=263848&r2=263849&view=diff
==============================================================================
--- llvm/trunk/tools/sancov/sancov.cc (original)
+++ llvm/trunk/tools/sancov/sancov.cc Fri Mar 18 17:46:10 2016
@@ -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";
More information about the llvm-commits
mailing list