diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2023-06-16 23:08:33 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2023-06-25 14:13:52 +0100 |
| commit | 80e493cb3631827909da4daaff001edb8691a83f (patch) | |
| tree | 2a069f4444915c7b6335966230b1d62ae6f9a309 /src/Module.zig | |
| parent | 2611d97fb07e5cba5657f508e93f01d60a2379bd (diff) | |
| download | zig-80e493cb3631827909da4daaff001edb8691a83f.tar.gz zig-80e493cb3631827909da4daaff001edb8691a83f.zip | |
Sema: copy pointer alignment to struct field pointers
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig index 6d04b8f894..16f1c4f641 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -991,6 +991,7 @@ pub const Struct = struct { is_comptime: bool, /// Returns the field alignment. If the struct is packed, returns 0. + /// Keep implementation in sync with `Sema.structFieldAlignment`. pub fn alignment( field: Field, mod: *Module, |
