diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-06-25 23:06:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-25 23:06:53 -0700 |
| commit | 40cf3f7ae5fbfb84b7af6b27e6296ee858b209ef (patch) | |
| tree | e0c720d3fb38e61049a7411d7d176033e1616f69 /src/Module.zig | |
| parent | d98147414d084bc41b00ba9c0be8c7b82ad4e76c (diff) | |
| parent | b66865d0597124af02fed027a2d72c00b976a17f (diff) | |
| download | zig-40cf3f7ae5fbfb84b7af6b27e6296ee858b209ef.tar.gz zig-40cf3f7ae5fbfb84b7af6b27e6296ee858b209ef.zip | |
Merge pull request #15995 from mlugg/fix/union-field-ptr-align
Sema: copy pointer alignment to union 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 56f2498fca..3bcc920fe2 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -992,6 +992,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, |
