aboutsummaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-03-19 11:52:15 +0100
committerAndrew Kelley <andrew@ziglang.org>2020-03-19 09:53:30 -0400
commite3c92d05328d7b40927bed66e7c2500a7853cdc8 (patch)
tree4e6a1b8e5ee17cf644288144bf66fe59f189c7b5 /lib/include
parent7a361751e563c131399050f339dc47edf3c32325 (diff)
downloadzig-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/include')
0 files changed, 0 insertions, 0 deletions