Follow-up to #30776
The comment on analyzeSwitchPayloadCapture was slightly wrong, if the switch prong contains ranges case_vals is also undefined, not just if is_special_prong is set! So using case_vals outside of blocks where it's known that there are no ranges might actually access undefined memory (even though you'd have to be pretty unlucky for case_vals.len to be exactly 1 instead of some other garbage value).
Follow-up to #30776
The comment on `analyzeSwitchPayloadCapture` was slightly wrong, if the switch prong contains ranges `case_vals` is also `undefined`, not just if `is_special_prong` is set! So using `case_vals` outside of blocks where it's known that there are no ranges might actually access `undefined` memory (even though you'd have to be pretty unlucky for `case_vals.len` to be exactly `1` instead of some other garbage value).