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

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 19 19:54:45 PDT 2024


================
@@ -125,7 +125,7 @@ json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) {
 json::Array renderBranchRegions(ArrayRef<coverage::CountedRegion> Regions) {
   json::Array RegionArray;
   for (const auto &Region : Regions)
-    if (!Region.Folded)
+    if (!Region.TrueFolded || !Region.FalseFolded)
----------------
chapuni wrote:

I guess we have to revisit how to show folding. Let me feed this to future tasks.

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


More information about the cfe-commits mailing list