GitNexus/gitnexus/src
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
..
cli fix: use merge-base in regression review guidance (#3514) 2026-10-14 10:53:15 +03:00
config fix(config): honor nested .gitignore files during repository walks (#3440) 2026-10-03 09:55:47 +00:00
core test(r): pin the CFG edge structure and CDG labels for empty if arms 2026-10-15 20:32:49 +01:00
lib fix(mcp): stop scaling the detect_changes query with the diff's hunk count (#2915) (#2930) 2026-08-12 14:51:17 +01:00
mcp fix(mcp): reject corrupt query identities and refresh index metadata (#3571) 2026-10-14 15:06:26 +01:00
server fix(embeddings): reuse completed vectors after interrupted analyze (#3463) 2026-10-04 09:26:02 +01:00
storage fix(routes): match configured fetch wrapper calls that pass type arguments (#3567) 2026-10-15 20:08:56 +03:00
types fix(resolution): label fallback guesses and preserve export visibility (#3190) 2026-09-10 11:38:19 +01:00
utils perf(lock): probe this process's own start time once (#3222) 2026-09-08 19:06:03 +01:00