[clang] [llvm] [MC/DC][Coverage] Loosen the limit of NumConds from 6 (PR #82448)
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Thu May 9 23:05:59 PDT 2024
================
@@ -190,18 +190,30 @@ class SourceMappingRegion {
bool isBranch() const { return FalseCount.has_value(); }
+ bool isMCDCBranch() const {
+ const auto *BranchParams = std::get_if<mcdc::BranchParameters>(&MCDCParams);
+ assert(BranchParams == nullptr || BranchParams->ID >= 0);
----------------
chapuni wrote:
I've removed the assertion. (I will commit other changes in BranchParams and DecisionParams later)
https://github.com/llvm/llvm-project/pull/82448
More information about the cfe-commits
mailing list