[llvm] r281872 - [llvm-cov] Drop another redundant 'No.' suffix

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 17:38:14 PDT 2016


Author: vedantk
Date: Sun Sep 18 19:38:14 2016
New Revision: 281872

URL: http://llvm.org/viewvc/llvm-project?rev=281872&view=rev
Log:
[llvm-cov] Drop another redundant 'No.' suffix

Modified:
    llvm/trunk/test/tools/llvm-cov/Inputs/showProjectSummary.test
    llvm/trunk/tools/llvm-cov/SourceCoverageViewHTML.cpp

Modified: llvm/trunk/test/tools/llvm-cov/Inputs/showProjectSummary.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/Inputs/showProjectSummary.test?rev=281872&r1=281871&r2=281872&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/Inputs/showProjectSummary.test (original)
+++ llvm/trunk/test/tools/llvm-cov/Inputs/showProjectSummary.test Sun Sep 18 19:38:14 2016
@@ -10,7 +10,7 @@ HTML: <h2>Coverage Report</h2>
 HTML: <h4>Created:{{.*}}</h4>
 HTML-FILE: <pre>{{.*}}showProjectSummary.cpp (Binary: showProjectSummary.covmapping)</pre>
 HTML-FUNCTION: <pre>main</pre>
-HTML-HEADER: <td><pre>Line No.</pre></td>
+HTML-HEADER: <td><pre>Line</pre></td>
 HTML-HEADER: <td><pre>Count</pre></td>
 HTML-HEADER: <td><pre>Source (<a href='#L8'>jump to first uncovered line</a>)</pre></td>
 HTML-FOOTER: <h5>Generated by llvm-cov{{.*}}</h5>

Modified: llvm/trunk/tools/llvm-cov/SourceCoverageViewHTML.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-cov/SourceCoverageViewHTML.cpp?rev=281872&r1=281871&r2=281872&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-cov/SourceCoverageViewHTML.cpp (original)
+++ llvm/trunk/tools/llvm-cov/SourceCoverageViewHTML.cpp Sun Sep 18 19:38:14 2016
@@ -620,7 +620,7 @@ void SourceCoverageViewHTML::renderTable
   }
 
   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);
 }




More information about the llvm-commits mailing list