From: Vedant Kumar Date: Mon, 19 Sep 2016 00:38:14 +0000 (+0000) Subject: [llvm-cov] Drop another redundant 'No.' suffix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c063c43a4ed27b038958f852a0939b36f7a3a50a;p=llvm [llvm-cov] Drop another redundant 'No.' suffix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281872 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-cov/Inputs/showProjectSummary.test b/test/tools/llvm-cov/Inputs/showProjectSummary.test index 80ece5ba6ac..4fb82fbdddc 100644 --- a/test/tools/llvm-cov/Inputs/showProjectSummary.test +++ b/test/tools/llvm-cov/Inputs/showProjectSummary.test @@ -10,7 +10,7 @@ HTML:

Coverage Report

HTML:

Created:{{.*}}

HTML-FILE:
{{.*}}showProjectSummary.cpp (Binary: showProjectSummary.covmapping)
HTML-FUNCTION:
main
-HTML-HEADER:
Line No.
+HTML-HEADER:
Line
HTML-HEADER:
Count
HTML-HEADER:
Source (jump to first uncovered line)
HTML-FOOTER:
Generated by llvm-cov{{.*}}
diff --git a/tools/llvm-cov/SourceCoverageViewHTML.cpp b/tools/llvm-cov/SourceCoverageViewHTML.cpp index 73da231b2aa..7acb8c2d392 100644 --- a/tools/llvm-cov/SourceCoverageViewHTML.cpp +++ b/tools/llvm-cov/SourceCoverageViewHTML.cpp @@ -620,7 +620,7 @@ void SourceCoverageViewHTML::renderTableHeader(raw_ostream &OS, } renderLinePrefix(OS, ViewDepth); - OS << tag("td", tag("pre", "Line No.")) << tag("td", tag("pre", "Count")) + OS << tag("td", tag("pre", "Line")) << tag("td", tag("pre", "Count")) << SourceLabel; renderLineSuffix(OS, ViewDepth); }