Jacob Young 0e3feebb04 codegen: fix taking the address of a zero-bit field in a zero-bit struct
Normally when we want a pointer to the end of a struct we just add 1 to
the struct pointer.  However, when it is a zero-bit struct, the pointer
type being used during lowering is often a dummy pointer type that
actually points to a non-zero-bit type, so we actually want to add 0
instead, since a zero-bit struct begins and ends at the same address.
2022-12-18 22:11:26 -05:00
..
2022-10-15 10:39:19 -07:00
2020-10-31 12:21:49 +02:00
2022-12-16 18:31:48 +01:00
2022-10-10 22:29:56 +02:00