diff options
author | Ying Yi <maggieyi666@gmail.com> | 2016-09-06 19:31:18 +0000 |
---|---|---|
committer | Ying Yi <maggieyi666@gmail.com> | 2016-09-06 19:31:18 +0000 |
commit | d36b47c481c213f5b77fd2755b800ff9604866c0 (patch) | |
tree | 4a4fafc1e30100930c023e61c35f132bff40f15d /llvm/tools/llvm-cov/SourceCoverageViewHTML.h | |
parent | 19eeb37b8c23fb75b7777eb3821fa706b5d0aade (diff) | |
download | bcm5719-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.h | 3 |
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; |