llcppg/ast:func mangle name
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user