From 24e91bd05fec332b73a991fa1f59160ea1c1e18e Mon Sep 17 00:00:00 2001 From: Ying Yi Date: Tue, 6 Sep 2016 21:41:38 +0000 Subject: [llvm-cov] Add the project summary to the text coverage report for each source file. This patch is a spin-off from https://reviews.llvm.org/D23922. It extends the text view to preserve the same feature as the html view. Differential Revision: https://reviews.llvm.org/D24241 llvm-svn: 280756 --- llvm/tools/llvm-cov/CodeCoverage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp') diff --git a/llvm/tools/llvm-cov/CodeCoverage.cpp b/llvm/tools/llvm-cov/CodeCoverage.cpp index 00c547063bc..02309c9de75 100644 --- a/llvm/tools/llvm-cov/CodeCoverage.cpp +++ b/llvm/tools/llvm-cov/CodeCoverage.cpp @@ -669,7 +669,7 @@ int CodeCoverageTool::show(int argc, const char **argv, // Show files bool ShowFilenames = - (SourceFiles.size() != 1) || + (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); if (SourceFiles.empty()) -- cgit v1.2.3