[all-commits] [llvm/llvm-project] f0db35: [MC/DC] Refactor: Introduce `MCDCTypes.h` for `cov...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Tue Feb 13 00:41:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0db35b93f31ea5d6ff9bd4791fb6755b5a5bb9b
      https://github.com/llvm/llvm-project/commit/f0db35b93f31ea5d6ff9bd4791fb6755b5a5bb9b
  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
    A llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
    M llvm/unittests/ProfileData/CoverageMappingTest.cpp

  Log Message:
  -----------
  [MC/DC] Refactor: Introduce `MCDCTypes.h` for `coverage::mcdc` (#81459)

They can be also used in `clang`.
Introduce the lightweight header instead of `CoverageMapping.h`.

This includes for now:
* `mcdc::ConditionID`
* `mcdc::Parameters`




More information about the All-commits mailing list