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.
Andrew Kelley committed on 12/31/2019, 10:33:55 PMparent39ee3bc
2 files changedLine totals unavailable