From 1b406b13b03055d2b2d08e8279a4a80c41ca7c20 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 3 May 2026 16:46:10 +0900 Subject: fix: div/mod/shift operations on unsigned integers --- src/ast.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ast.h') 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); -- cgit v1.3.1