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);
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