summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
diff options
context:
space:
mode:
authorYing Yi <maggieyi666@gmail.com>2016-09-06 19:31:18 +0000
committerYing Yi <maggieyi666@gmail.com>2016-09-06 19:31:18 +0000
commitd36b47c481c213f5b77fd2755b800ff9604866c0 (patch)
tree4a4fafc1e30100930c023e61c35f132bff40f15d /llvm/tools/llvm-cov/SourceCoverageViewHTML.h
parent19eeb37b8c23fb75b7777eb3821fa706b5d0aade (diff)
downloadbcm5719-llvm-d36b47c481c213f5b77fd2755b800ff9604866c0.tar.gz
bcm5719-llvm-d36b47c481c213f5b77fd2755b800ff9604866c0.zip
[llvm-cov] Add the "Go to first unexecuted line" feature.
This patch provides easy navigation to find the zero count lines, especially useful when the source file is very large. Differential Revision: https://reviews.llvm.org/D23277 llvm-svn: 280739
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.h')
-rw-r--r--llvm/tools/llvm-cov/SourceCoverageViewHTML.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageViewHTML.h b/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
index dd9f949e04a..42fec6fd31f 100644
--- a/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
+++ b/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
@@ -38,7 +38,8 @@ class SourceCoverageViewHTML : public SourceCoverageView {
void renderViewFooter(raw_ostream &OS) override;
- void renderSourceName(raw_ostream &OS, bool WholeFile) override;
+ void renderSourceName(raw_ostream &OS, bool WholeFile,
+ unsigned FirstUncoveredLineNo) override;
void renderLinePrefix(raw_ostream &OS, unsigned ViewDepth) override;
OpenPOWER on IntegriCloud