mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
varargs mangle fix
This commit is contained in:
parent
894ee7cbcf
commit
b1717a0722
1 changed files with 5 additions and 0 deletions
|
@ -318,6 +318,11 @@ void BfGNUMangler::MangleTypeInst(MangleContext& mangleContext, StringImpl& name
|
|||
{
|
||||
name += "_";
|
||||
name += methodDef->mParams[paramIdx]->mName;
|
||||
if (methodDef->mParams[paramIdx]->mParamKind == BfParamKind_VarArgs)
|
||||
{
|
||||
name += "__varargs";
|
||||
continue;
|
||||
}
|
||||
typeVec.push_back(BfNodeDynCast<BfDirectTypeReference>(methodDef->mParams[paramIdx]->mTypeRef)->mType);
|
||||
}
|
||||
for (auto type : typeVec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue