Merge pull request #757 from luoliwoshang/llcppg/ast/mangle

llcppg/ast:func mangle name
This commit is contained in:
xushiwei
2024-09-25 11:05:06 +08:00
committed by GitHub

View File

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