llcppg/ast:func mangle name

This commit is contained in:
luoliwoshang
2024-09-02 17:52:51 +08:00
parent 3ce9567f62
commit 0484d4bb77

View File

@@ -318,6 +318,7 @@ func (*EnumTypeDecl) declNode() {}
type FuncDecl struct {
DeclBase
Name *Ident
MangledName string // C: same as Name, C++: mangled
Type *FuncType
IsInline bool
IsStatic bool