From 730f2e040770b9f537922c18d95d8bef0b2603d7 Mon Sep 17 00:00:00 2001 From: mlugg Date: Fri, 16 Jun 2023 23:08:33 +0100 Subject: Sema: copy pointer alignment to struct field pointers --- src/Module.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Module.zig') 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, -- cgit v1.2.3