diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-08-12 10:45:37 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-08-12 10:48:54 -0700 |
| commit | 55c6a784a5bdf37c90cc9d8f55e9a86d396b8af4 (patch) | |
| tree | 617bd6b751f54fb946c4233b48d3fac0867674b9 /lib/libcxx | |
| parent | fc55814faa8970cc373b7bbf8479c3bc3934fb44 (diff) | |
| download | zig-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/libcxx')
0 files changed, 0 insertions, 0 deletions
