astgen: fill result location with `void` value if no other value

With this change, `break` and `break :blk` will fill the result location
with `.void_value`, ensuring that the value will be type checked.
The same will happen for a for loop that contains no `break`s in it's body.

Closes https://github.com/ziglang/zig/issues/14686.
ecc0108ceaJohn Schmidt committed on 3/8/2023, 2:35:53 PM· committed by Veikka Tuominenparentfea14c7
2 files changedLine totals unavailable