From 06e294fb3e8766872bb8f3289b2ff803d2131af3 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Fri, 9 Aug 2024 10:13:59 +0800 Subject: [PATCH] llcppg/ast:builtin type --- chore/llcppg/ast/ast.go | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/chore/llcppg/ast/ast.go b/chore/llcppg/ast/ast.go index 33a43181..3efa1eae 100644 --- a/chore/llcppg/ast/ast.go +++ b/chore/llcppg/ast/ast.go @@ -63,11 +63,18 @@ func (*BasicLit) exprNode() {} type TypeKind uint const ( - Int TypeKind = iota - Char - Float - Complex + Void TypeKind = iota Bool + Char + Char16 + Char32 + WChar + Int + Int128 + Float + Float16 + Float128 + Complex ) type TypeFlag uint