zig/src-self-hosted
Andrew Kelley 5749f706ef
translate-c: non-wrapping operator for pointer arithmetic
According to C11 6.5.6.8, pointer arithmetic may not overflow. In fact,
it may not even go more than 1 past the end of an object, or UB occurs.

This is the same as Zig pointer arithmetic semantics, and so the
`+` and `+=` operators rather than `+%` and `+%=` are appropriate for
C-translated pointer arithmetic.
2019-12-31 17:33:55 -05:00
..
2019-12-29 19:50:45 +02:00
2019-12-11 02:08:33 -05:00
2019-11-26 11:52:12 +02:00
2019-12-29 11:04:58 +02:00
2019-12-29 11:04:58 +02:00
2019-12-11 02:08:33 -05:00
2019-12-29 19:23:36 +02:00
2019-11-27 10:17:37 +02:00
2018-11-13 05:08:37 -08:00