aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-04-12 21:03:36 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-13 02:47:16 -0400
commite2fe1907ecac075e4d4a37776359144318b6055a (patch)
treefa8289bc558540dfe7fcfdc0d06eb99f0e189396 /src/Sema.zig
parent856a9c2e3120d9ffa1166eed13641600230946da (diff)
downloadzig-e2fe1907ecac075e4d4a37776359144318b6055a.tar.gz
zig-e2fe1907ecac075e4d4a37776359144318b6055a.zip
add c_char type
closes #875
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig3
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,