aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-04-29 17:13:18 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-04-29 17:13:18 -0700
commit9e49a65e1bd474f0f678465fb4b965ddc5899226 (patch)
tree06a5c5982192f100dc6c0ecad8afba507e1ed579 /src/Module.zig
parent55e86b724a2ce60b777bd94d1203f243435727b7 (diff)
downloadzig-9e49a65e1bd474f0f678465fb4b965ddc5899226.tar.gz
zig-9e49a65e1bd474f0f678465fb4b965ddc5899226.zip
AstGen: implement anytype struct fields
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig
index cfaac07570..4b50c298e3 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -467,6 +467,7 @@ pub const Struct = struct {
node_offset: i32,
pub const Field = struct {
+ /// Uses `noreturn` to indicate `anytype`.
ty: Type,
abi_align: Value,
/// Uses `unreachable_value` to indicate no default.