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 { type FuncDecl struct {
DeclBase DeclBase
Name *Ident Name *Ident
MangledName string // C: same as Name, C++: mangled
Type *FuncType Type *FuncType
IsInline bool IsInline bool
IsStatic bool IsStatic bool