[all-commits] [llvm/llvm-project] 702a2b: [Coverage] Rework !SystemHeadersCoverage (#91446)
NAKAMURA Takumi via All-commits
all-commits at lists.llvm.org
Mon May 20 02:06:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 702a2b627ff4b2a5d330a7bd0d3f7cadaff0b4ed
https://github.com/llvm/llvm-project/commit/702a2b627ff4b2a5d330a7bd0d3f7cadaff0b4ed
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
A clang/test/CoverageMapping/mcdc-system-headers.cpp
Log Message:
-----------
[Coverage] Rework !SystemHeadersCoverage (#91446)
- Introduce `LeafExprSet`,
- Suppress traversing LAnd and LOr expr under system headers.
- Handle LAnd and LOr as instrumented leaves to override
`!isInstrumentedCondition(C)`.
- Replace Loc with FileLoc if it is expanded with system headers.
Fixes #78920
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