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

@@ -317,10 +317,11 @@ func (*EnumTypeDecl) declNode() {}
// Ret Name(Params);
type FuncDecl struct {
DeclBase
Name *Ident
Type *FuncType
IsInline bool
IsStatic bool
Name *Ident
MangledName string // C: same as Name, C++: mangled
Type *FuncType
IsInline bool
IsStatic bool
// Class method specific fields
IsConst bool // const member function