[clang] [llvm] [Coverage] Introduce "partial fold" on BranchRegion (PR #112694)

Jessica Paquette via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 23:56:28 PDT 2024


================
@@ -719,10 +720,10 @@ struct FunctionRecord {
         Region.Kind == CounterMappingRegion::MCDCBranchRegion) {
       CountedBranchRegions.emplace_back(Region, Count, FalseCount,
                                         HasSingleByteCoverage);
-      // If both counters are hard-coded to zero, then this region represents a
+      // If either counters is hard-coded to zero, then this region represents a
----------------
ornata wrote:

s/counters/counter

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


More information about the cfe-commits mailing list