[clang] [llvm] [coverage] skipping code coverage for 'if constexpr' and 'if consteval' [WIP] (PR #78033)
Hana Dusíková via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 21 15:21:51 PST 2024
================
@@ -1251,6 +1264,70 @@ struct CounterCoverageMappingBuilder
popRegions(Index);
}
+ /// Find a valid range starting with \p StartingLoc and ending before \p
+ /// BeforeLoc.
+ std::optional<SourceRange> findAreaStartingFromTo(SourceLocation StartingLoc,
----------------
hanickadot wrote:
this is modified function `findGapAreaBetween` but we need to start at StartingLoc, not after
https://github.com/llvm/llvm-project/pull/78033
More information about the cfe-commits
mailing list