aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-12 10:45:37 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-08-12 10:48:54 -0700
commit55c6a784a5bdf37c90cc9d8f55e9a86d396b8af4 (patch)
tree617bd6b751f54fb946c4233b48d3fac0867674b9 /lib
parentfc55814faa8970cc373b7bbf8479c3bc3934fb44 (diff)
downloadzig-55c6a784a5bdf37c90cc9d8f55e9a86d396b8af4.tar.gz
zig-55c6a784a5bdf37c90cc9d8f55e9a86d396b8af4.zip
stage2 frontend improvements - `@ptrCast` and optionals
* AstGen: use coerced_ty ResultLoc on array types and rely on Sema doing type coercion, to reduce the size of the ZIR for these instructions. * Sema: implement `@ptrCast`. * Sema: implement coercion from `T` to `?T` with an intermediate coercion rather than equality check.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions