[all-commits] [llvm/llvm-project] 223521: llvm-cov: Introduce `--binary-counters` (#120841)

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Fri Dec 27 02:48:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 223521b13e7465bc177f43e22de526b777d6ff74
      https://github.com/llvm/llvm-project/commit/223521b13e7465bc177f43e22de526b777d6ff74
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M llvm/test/tools/llvm-cov/branch-macros.test
    M llvm/test/tools/llvm-cov/showLineExecutionCounts.test
    M llvm/tools/llvm-cov/CodeCoverage.cpp
    M llvm/tools/llvm-cov/CoverageViewOptions.h
    M llvm/tools/llvm-cov/SourceCoverageView.h
    M llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
    M llvm/tools/llvm-cov/SourceCoverageViewText.cpp

  Log Message:
  -----------
  llvm-cov: Introduce `--binary-counters` (#120841)

In `llvm-cov show`, this option rounds counters (line, branch) to
`[1,0]` at rendering. This will be useful when the number of counts
doesn't interest but **Covered/uncoverd** does.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list