[clang] [llvm] [MC/DC][Coverage] Loosen the limit of NumConds from 6 (PR #82448)

Hana Dusíková via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 22:38:03 PST 2024


================
@@ -1959,9 +2013,44 @@ struct CounterCoverageMappingBuilder
                        subtractCounters(ParentCount, TrueCount));
   }
 
+  void RewindDecision(unsigned Since) {
+#ifndef NDEBUG
+    llvm::DenseSet<mcdc::ConditionID> SeenIDs;
+#endif
+    unsigned NConds = 0;
----------------
hanickadot wrote:

move the `NConds` into `ifndef NDEBUG` block as it's just a sanity check

https://github.com/llvm/llvm-project/pull/82448


More information about the cfe-commits mailing list