diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-10-28 15:59:14 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-10-28 15:59:14 -0700 |
| commit | d2f9646d98615d85589d2c46237559d1249f2765 (patch) | |
| tree | 87c2297912251993970a282703f688c72932e228 /src/codegen/llvm.zig | |
| parent | 234d94e42b832dd17eb9144f5523e03ef4fa8eb3 (diff) | |
| download | zig-d2f9646d98615d85589d2c46237559d1249f2765.tar.gz zig-d2f9646d98615d85589d2c46237559d1249f2765.zip | |
C backend: fix enough that zig test works
* test_functions: properly add dependencies of the array on test
functions and test names so that the order comes out correctly.
* fix lowering of struct literals to add parentheses around the type
name.
* omit const qualifier in slices because otherwise slices cannot be
reassigned even when they are local variables.
* special case pointer to functions and double pointer to functions in
renderTypeAndName. This code will need to be cleaned up but for now
it helps us make progress on other C backend stuff.
* fix slice element access to lower to `.ptr[` instead of `[`.
* airSliceElemVal: respect volatile slices
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
