diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-03-19 11:52:15 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-03-19 09:53:30 -0400 |
| commit | e3c92d05328d7b40927bed66e7c2500a7853cdc8 (patch) | |
| tree | 4e6a1b8e5ee17cf644288144bf66fe59f189c7b5 /lib/std/json.zig | |
| parent | 7a361751e563c131399050f339dc47edf3c32325 (diff) | |
| download | zig-e3c92d05328d7b40927bed66e7c2500a7853cdc8.tar.gz zig-e3c92d05328d7b40927bed66e7c2500a7853cdc8.zip | |
ir: More changes to sentinel-terminated const arrays
* Don't add an extra slot for the sentinel. Most of the code keeps using
the constant value from the type descriptor, let's harmonize all the
code dealing with sentinels.
* Properly write out sentinel values when reinterpreting pointers at
comptime.
* Allow the reading of the 0th element in a `[0:S]T` type.
Diffstat (limited to 'lib/std/json.zig')
0 files changed, 0 insertions, 0 deletions
