[all-commits] [llvm/llvm-project] a17a3e: [MC/DC] Refactor: Make `MCDCParams` as `std::varia...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Tue Feb 13 05:43:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a17a3e9d9a6b4baefd96e19ee5e8ce04cead8ab5
      https://github.com/llvm/llvm-project/commit/a17a3e9d9a6b4baefd96e19ee5e8ce04cead8ab5
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
    M llvm/unittests/ProfileData/CoverageMappingTest.cpp

  Log Message:
  -----------
  [MC/DC] Refactor: Make `MCDCParams` as `std::variant` (#81227)

Introduce `mcdc::DecisionParameters` and `mcdc::BranchParameters` and make
sure them not initialized as zero.

FIXME: Could we make `CoverageMappingRegion` as a smart tagged union?




More information about the All-commits mailing list