mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[llvm-cov] Don't print a verbose title when looking at one file
Having the same title, timestamp, etc. occur repeatedly creates an unnecessary distraction when paging through a report. llvm-svn: 281579
This commit is contained in:
parent
bfd3462713
commit
4cd17108cb
@ -1,6 +1,6 @@
|
||||
TEXT-TITLE: Test Suite
|
||||
TEXT: Coverage Report
|
||||
TEXT: Created:
|
||||
TEXT-NOT: Coverage Report
|
||||
TEXT-NOT: Created:
|
||||
TEXT-FILE-NOT: (Binary: showProjectSummary.covmapping)
|
||||
TEXT-FUNCTION: main:
|
||||
TEXT-FOOTER: Generated by llvm-cov
|
||||
|
@ -168,7 +168,7 @@ void SourceCoverageView::addInstantiation(
|
||||
|
||||
void SourceCoverageView::print(raw_ostream &OS, bool WholeFile,
|
||||
bool ShowSourceName, unsigned ViewDepth) {
|
||||
if (WholeFile)
|
||||
if (WholeFile && getOptions().hasOutputDirectory())
|
||||
renderCellInTitle(OS, "Coverage Report");
|
||||
|
||||
renderViewHeader(OS);
|
||||
|
Loading…
Reference in New Issue
Block a user