Skip to content

Commit

Permalink
Rollup merge of #131918 - Zalathar:counters, r=nnethercote
Browse files Browse the repository at this point in the history
coverage: Make counter creation handle node/edge counters more uniformly

Similar to #130380, this is another round of small improvements informed by my ongoing attempts to overhaul coverage counter creation.

One of the big benefits is getting rid of the awkward special-case that would sometimes attach an edge counter to a node instead. That was needed by the code that chooses which out-edge should be given a counter expression, but we can avoid that by making the corresponding check a little smarter.

I've also renamed several things to be simpler and more consistent, which should help with future changes.
  • Loading branch information
matthiaskrgr authored Oct 22, 2024
2 parents 1de57a5 + 4b8f7f5 commit 703b042
Showing 1 changed file with 107 additions and 117 deletions.
Loading

0 comments on commit 703b042

Please sign in to comment.