aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-05-30 14:16:28 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-05-30 14:16:28 -0700
commitbd89a73d5289536948b052eb7f052d6de193441b (patch)
tree39930f14ff7576884e67ed54a3d3f06ec8ab2785 /src/type.zig
parent7e98b047ddc51062a32cbf2fb852d38e5023886c (diff)
downloadzig-bd89a73d5289536948b052eb7f052d6de193441b.tar.gz
zig-bd89a73d5289536948b052eb7f052d6de193441b.zip
Sema: implement functions generic across callconv() or align()
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/type.zig b/src/type.zig
index 145ae4904a..ebb8bfd7c3 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -6120,6 +6120,10 @@ pub const Type = extern union {
cc: std.builtin.CallingConvention,
is_var_args: bool,
is_generic: bool,
+ align_is_generic: bool = false,
+ cc_is_generic: bool = false,
+ section_is_generic: bool = false,
+ addrspace_is_generic: bool = false,
pub fn paramIsComptime(self: @This(), i: usize) bool {
assert(i < self.param_types.len);