aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-08 23:02:13 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-02-08 23:02:13 -0700
commitf4fa32a63219917e8fb26f43cbd2d97b17e0aeee (patch)
tree6d5e038f63591104b437c663e86c6ef3a7d6c6a6 /src/type.zig
parent1678825c1450b29a1016bba62511388b3e539cd8 (diff)
downloadzig-f4fa32a63219917e8fb26f43cbd2d97b17e0aeee.tar.gz
zig-f4fa32a63219917e8fb26f43cbd2d97b17e0aeee.zip
Sema: fix `@typeInfo` for pointers returning 0 alignment
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index e3a4b3d60a..769e48ccc5 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -4687,7 +4687,7 @@ pub const Type = extern union {
pub const Data = struct {
pointee_type: Type,
sentinel: ?Value = null,
- /// If zero use pointee_type.AbiAlign()
+ /// If zero use pointee_type.abiAlignment()
@"align": u32 = 0,
/// See src/target.zig defaultAddressSpace function for how to obtain
/// an appropriate value for this field.