parent
f05779e21c
commit
fd7c2198e4
|
@ -3006,8 +3006,8 @@ public:
|
||||||
"Extra arguments in non-variadic function!");
|
"Extra arguments in non-variadic function!");
|
||||||
|
|
||||||
// If we still have any arguments, emit them using the type of the argument.
|
// If we still have any arguments, emit them using the type of the argument.
|
||||||
for (auto *Arg : llvm::make_range(Arg, ArgRange.end()))
|
for (auto *A : llvm::make_range(Arg, ArgRange.end()))
|
||||||
ArgTypes.push_back(getVarArgType(Arg));
|
ArgTypes.push_back(getVarArgType(A));
|
||||||
|
|
||||||
EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip);
|
EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue