diff options
author | Vedant Kumar <vsk@apple.com> | 2016-09-10 19:37:26 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-09-10 19:37:26 +0000 |
commit | b1c174aa1c2a4a903b728625f646d075a861ece4 (patch) | |
tree | 10bbc3faf11adc1ffc64f73ae5584daa546688fb /llvm/tools/llvm-cov/SourceCoverageViewText.cpp | |
parent | 7b9e9bb49153c714a363acf4958373d8254d5a76 (diff) | |
download | llvm-b1c174aa1c2a4a903b728625f646d075a861ece4.zip llvm-b1c174aa1c2a4a903b728625f646d075a861ece4.tar.gz llvm-b1c174aa1c2a4a903b728625f646d075a861ece4.tar.bz2 |
[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/SourceCoverageViewText.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageViewText.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageViewText.cpp b/llvm/tools/llvm-cov/SourceCoverageViewText.cpp index b0676ca..3d3045e 100644 --- a/llvm/tools/llvm-cov/SourceCoverageViewText.cpp +++ b/llvm/tools/llvm-cov/SourceCoverageViewText.cpp @@ -66,8 +66,7 @@ void SourceCoverageViewText::renderViewHeader(raw_ostream &) {} void SourceCoverageViewText::renderViewFooter(raw_ostream &) {} -void SourceCoverageViewText::renderSourceName(raw_ostream &OS, bool WholeFile, - unsigned FirstUncoveredLineNo) { +void SourceCoverageViewText::renderSourceName(raw_ostream &OS, bool WholeFile) { std::string ViewInfo = WholeFile ? getVerboseSourceName() : getSourceName(); getOptions().colored_ostream(OS, raw_ostream::CYAN) << ViewInfo << ":\n"; } @@ -229,4 +228,5 @@ void SourceCoverageViewText::renderCellInTitle(raw_ostream &OS, << getOptions().CreatedTimeStr << "\n"; } -void SourceCoverageViewText::renderTableHeader(raw_ostream &, unsigned) {} +void SourceCoverageViewText::renderTableHeader(raw_ostream &, unsigned, + unsigned) {} |