GitNexus/gitnexus/test
Mick Cooney 9c39aefdb6 test(r): pin the CFG edge structure and CDG labels for empty if arms
Review finding: an empty then/else arm loses its cond-true/cond-false edge.
Not reproducible as lost information: an empty `{}` arm (like a missing
`else`) is the header's seq fall-through edge, the same convention as every
other CFG visitor, and control dependence labels it as the complement of the
sibling explicit arm. Probed on the current code: `if (c) {} else work()`
gives c-cond-false->work() with CDG c->work():F, and
`if (c) work() else {}` gives CDG c->work():T.

Adds exact edge-structure and CDG-label tests (all passed on the unmodified
visitor) and documents the fall-through convention in the visitor header.
No behaviour change.
2026-10-15 20:32:49 +01:00
..
fixtures Merge upstream/main into feat/r-language-support 2026-10-15 20:15:16 +01:00
helpers Merge upstream/main into feat/r-language-support 2026-10-15 14:13:14 +01:00
integration Merge upstream/main into feat/r-language-support 2026-10-15 20:15:16 +01:00
unit test(r): pin the CFG edge structure and CDG labels for empty if arms 2026-10-15 20:32:49 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00