summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/SourceCoverageView.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-09-10 19:37:26 +0000
committerVedant Kumar <vsk@apple.com>2016-09-10 19:37:26 +0000
commitb1c174aa1c2a4a903b728625f646d075a861ece4 (patch)
tree10bbc3faf11adc1ffc64f73ae5584daa546688fb /llvm/tools/llvm-cov/SourceCoverageView.h
parent7b9e9bb49153c714a363acf4958373d8254d5a76 (diff)
downloadbcm5719-llvm-b1c174aa1c2a4a903b728625f646d075a861ece4.tar.gz
bcm5719-llvm-b1c174aa1c2a4a903b728625f646d075a861ece4.zip
[llvm-cov] Move the 'jump to first unexecuted line' link
Having it in the same row as the source name is jarring. Move it next to the "Source" column label. llvm-svn: 281146
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.h')
-rw-r--r--llvm/tools/llvm-cov/SourceCoverageView.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageView.h b/llvm/tools/llvm-cov/SourceCoverageView.h
index b1bbff8e804..68e8251e9b8 100644
--- a/llvm/tools/llvm-cov/SourceCoverageView.h
+++ b/llvm/tools/llvm-cov/SourceCoverageView.h
@@ -196,8 +196,7 @@ protected:
virtual void renderViewFooter(raw_ostream &OS) = 0;
/// \brief Render the source name for the view.
- virtual void renderSourceName(raw_ostream &OS, bool WholeFile,
- unsigned FirstUncoveredLineNo) = 0;
+ virtual void renderSourceName(raw_ostream &OS, bool WholeFile) = 0;
/// \brief Render the line prefix at the given \p ViewDepth.
virtual void renderLinePrefix(raw_ostream &OS, unsigned ViewDepth) = 0;
@@ -245,8 +244,9 @@ protected:
/// created time for the view.
virtual void renderCellInTitle(raw_ostream &OS, StringRef CellText) = 0;
- /// \brief Render the table header for a given source file
- virtual void renderTableHeader(raw_ostream &OS, unsigned IndentLevel = 0) = 0;
+ /// \brief Render the table header for a given source file.
+ virtual void renderTableHeader(raw_ostream &OS, unsigned FirstUncoveredLineNo,
+ unsigned IndentLevel) = 0;
/// @}
OpenPOWER on IntegriCloud