aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ast.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-03 16:46:10 +0900
committernsfisis <nsfisis@gmail.com>2026-05-03 16:46:10 +0900
commit1b406b13b03055d2b2d08e8279a4a80c41ca7c20 (patch)
treebe9ed42948eda98add8eab24016ee015bf0389a7 /src/ast.h
parent6e9ffa7cf08c83853e2fe84555d35eeaaf84e4f0 (diff)
downloadducc-1b406b13b03055d2b2d08e8279a4a80c41ca7c20.tar.gz
ducc-1b406b13b03055d2b2d08e8279a4a80c41ca7c20.tar.zst
ducc-1b406b13b03055d2b2d08e8279a4a80c41ca7c20.zip
fix: div/mod/shift operations on unsigned integers
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index f12fd83..c6fd0e2 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -73,6 +73,7 @@ Type* type_new_static_string(int len);
Type* type_array_to_ptr(Type* ty);
Type* type_new_func(Type* result, AstNode* params);
bool type_is_unsized(Type* ty);
+bool type_is_unsigned(Type* ty);
int type_sizeof_struct(Type* ty);
int type_sizeof_union(Type* ty);