Lines Matching refs:NumParams
4452 unsigned NumParams = Proto->getNumParams(); in ConvertArgumentsForCall() local
4454 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams; in ConvertArgumentsForCall()
4462 if (Args.size() < NumParams) { in ConvertArgumentsForCall()
4467 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()
4475 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()
4480 Diag(RParenLoc, MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()
4493 Call->setNumArgs(Context, NumParams); in ConvertArgumentsForCall()
4498 if (Args.size() > NumParams) { in ConvertArgumentsForCall()
4503 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()
4506 diagnoseTypo(TC, PDiag(diag_id) << FnKind << NumParams in ConvertArgumentsForCall()
4509 } else if (NumParams == 1 && FDecl && in ConvertArgumentsForCall()
4511 Diag(Args[NumParams]->getLocStart(), in ConvertArgumentsForCall()
4512 MinArgs == NumParams in ConvertArgumentsForCall()
4517 << SourceRange(Args[NumParams]->getLocStart(), in ConvertArgumentsForCall()
4520 Diag(Args[NumParams]->getLocStart(), in ConvertArgumentsForCall()
4521 MinArgs == NumParams in ConvertArgumentsForCall()
4524 << FnKind << NumParams << static_cast<unsigned>(Args.size()) in ConvertArgumentsForCall()
4526 << SourceRange(Args[NumParams]->getLocStart(), in ConvertArgumentsForCall()
4535 Call->setNumArgs(Context, NumParams); in ConvertArgumentsForCall()
4559 unsigned NumParams = Proto->getNumParams(); in GatherArgumentsForCall() local
4563 for (unsigned i = FirstParam; i < NumParams; i++) { in GatherArgumentsForCall()