File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,6 @@ matchCallArguments(SmallVectorImpl<AnyFunctionType::Param> &args,
400
400
// If the argument is itself variadic, we're forwarding varargs
401
401
// with a VarargExpansionExpr; don't collect any more arguments.
402
402
if (args[*claimed].isVariadic ()) {
403
- skipClaimedArgs ();
404
403
return ;
405
404
}
406
405
@@ -414,14 +413,12 @@ matchCallArguments(SmallVectorImpl<AnyFunctionType::Param> &args,
414
413
}
415
414
416
415
nextArgIdx = currentNextArgIdx;
417
- skipClaimedArgs ();
418
416
return ;
419
417
}
420
418
421
419
// Try to claim an argument for this parameter.
422
420
if (auto claimed = claimNextNamed (param.getLabel (), ignoreNameMismatch)) {
423
421
parameterBindings[paramIdx].push_back (*claimed);
424
- skipClaimedArgs ();
425
422
return ;
426
423
}
427
424
@@ -564,7 +561,6 @@ matchCallArguments(SmallVectorImpl<AnyFunctionType::Param> &args,
564
561
if (numClaimedArgs != numArgs) {
565
562
// Restart at the first argument/parameter.
566
563
nextArgIdx = 0 ;
567
- skipClaimedArgs ();
568
564
haveUnfulfilledParams = false ;
569
565
for (paramIdx = 0 ; paramIdx != numParams; ++paramIdx) {
570
566
// Skip fulfilled parameters.
You can’t perform that action at this time.
0 commit comments