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

@@ -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