llvm-project/llvm/tools/llvm-cov
Alex Lorenz 35369c1eb6 [llvm-cov] Avoid 0% when reporting something that's 0/0
This commit makes llvm-cov avoid showing 0% (0/0) coverage for things
like file function coverage, etc. in reports and HTML output. This can happen
for files like headers that have macros but no functions. This commit makes
llvm-cov report - (0/0) instead.

rdar://29246480

Differential Revision: https://reviews.llvm.org/D26615

llvm-svn: 287539
2016-11-21 14:00:04 +00:00
..
CMakeLists.txt Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00
CodeCoverage.cpp Fix spelling mistakes in Tools/Tests comments. NFC. 2016-11-20 13:31:13 +00:00
CoverageExporterJson.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
CoverageFilters.cpp llvm-cov: Disentangle the coverage data logic from the display (NFC) 2014-09-20 15:31:56 +00:00
CoverageFilters.h Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
CoverageReport.cpp [llvm-cov] Avoid 0% when reporting something that's 0/0 2016-11-21 14:00:04 +00:00
CoverageReport.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
CoverageSummaryInfo.cpp [llvm-cov] Delete the NonCodeLines field, it was always dead 2016-09-19 01:46:01 +00:00
CoverageSummaryInfo.h [llvm-cov] Delete the NonCodeLines field, it was always dead 2016-09-19 01:46:01 +00:00
CoverageViewOptions.h [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
RenderingSupport.h NFC, add an "end namespace" comment for consistency 2016-06-23 16:27:08 +00:00
SourceCoverageView.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
SourceCoverageView.h Remove duplicated default move ctors/move assign. No functional change. 2016-10-27 15:23:44 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Avoid 0% when reporting something that's 0/0 2016-11-21 14:00:04 +00:00
SourceCoverageViewHTML.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
SourceCoverageViewText.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
SourceCoverageViewText.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
TestingSupport.cpp Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +00:00
gcov.cpp Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +00:00
llvm-cov.cpp Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00