diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-04-12 21:03:36 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-13 02:47:16 -0400 |
| commit | e2fe1907ecac075e4d4a37776359144318b6055a (patch) | |
| tree | fa8289bc558540dfe7fcfdc0d06eb99f0e189396 /src/Sema.zig | |
| parent | 856a9c2e3120d9ffa1166eed13641600230946da (diff) | |
| download | zig-e2fe1907ecac075e4d4a37776359144318b6055a.tar.gz zig-e2fe1907ecac075e4d4a37776359144318b6055a.zip | |
add c_char type
closes #875
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 30bdde0748..9cf342f75b 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -30622,6 +30622,7 @@ pub fn resolveTypeRequiresComptime(sema: *Sema, ty: Type) CompileError!bool { .i128, .usize, .isize, + .c_char, .c_short, .c_ushort, .c_int, @@ -32010,6 +32011,7 @@ pub fn typeHasOnePossibleValue(sema: *Sema, ty: Type) CompileError!?Value { .i128, .usize, .isize, + .c_char, .c_short, .c_ushort, .c_int, @@ -32640,6 +32642,7 @@ pub fn typeRequiresComptime(sema: *Sema, ty: Type) CompileError!bool { .i128, .usize, .isize, + .c_char, .c_short, .c_ushort, .c_int, |
