| commit | c636d7a9a35348c500c978b7211ef8efcfa92d38 | [log] [tgz] |
|---|---|---|
| author | Alex Lorenz <arphaman@gmail.com> | Mon Nov 21 14:00:04 2016 +0000 |
| committer | Alex Lorenz <arphaman@gmail.com> | Mon Nov 21 14:00:04 2016 +0000 |
| tree | 9a2baa8b21024d2892718087de36814069f5125e | |
| parent | b65e1c7f35d0cb2c8683ef41cde797ff8ba546e1 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287539 91177308-0d34-0410-b5e6-96231b3b80d8