[llvm] llvm-cov: Introduce `--binary-counters` (PR #120841)
Jessica Paquette via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 22 18:25:33 PST 2024
================
@@ -266,6 +268,10 @@ class SourceCoverageView {
/// digits.
static std::string formatCount(uint64_t N);
+ uint64_t Count1(uint64_t N) const { return (N && BinaryCounters ? 1 : N); }
+
+ std::string formatCount1(uint64_t N) const { return formatCount(Count1(N)); }
----------------
ornata wrote:
same as above
https://github.com/llvm/llvm-project/pull/120841
More information about the llvm-commits
mailing list