[clang] [Coverage] Introduce `getBranchCounterPair()`. NFC. (PR #112702)

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 01:14:38 PST 2024


================
@@ -2221,27 +2249,27 @@ struct CounterCoverageMappingBuilder
     extendRegion(E->getRHS());
     propagateCounts(getRegionCounter(E), E->getRHS());
 
+    if (llvm::EnableSingleByteCoverage)
----------------
chapuni wrote:

This is a small refactor for below and this itself will be swept later.



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


More information about the cfe-commits mailing list