aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorEvan Haas <evan@lagerdata.com>2021-03-18 05:41:04 -0700
committerGitHub <noreply@github.com>2021-03-18 14:41:04 +0200
commitb54514d9dd15225ef2578b33c4c384db4680b90b (patch)
treee2e3c9482567d2e187c18ebf3ae6f99a4c65b60e /src/codegen
parent75a7abb0c47d9f5e99b1f69250776528fa60f569 (diff)
downloadzig-b54514d9dd15225ef2578b33c4c384db4680b90b.tar.gz
zig-b54514d9dd15225ef2578b33c4c384db4680b90b.zip
translate-c: Use [N:0] arrays when initializer is a string literal (#8264)
* translate-c: Use [N:0] arrays when initializer is a string literal Translate incomplete arrays as [N:0] when initialized by a string literal. This preserves a bit more of the type information from the original C program. Fixes #8215
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions