Lines Matching refs:NumArgsInProto
3356 unsigned NumArgsInProto = Proto->getNumArgs();
3358 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumArgsInProto;
3366 if (NumArgs < NumArgsInProto) {
3368 Diag(RParenLoc, MinArgs == NumArgsInProto
3381 Call->setNumArgs(Context, NumArgsInProto);
3386 if (NumArgs > NumArgsInProto) {
3388 Diag(Args[NumArgsInProto]->getLocStart(),
3389 MinArgs == NumArgsInProto
3393 << NumArgsInProto << NumArgs << Fn->getSourceRange()
3394 << SourceRange(Args[NumArgsInProto]->getLocStart(),
3403 Call->setNumArgs(Context, NumArgsInProto);
3433 unsigned NumArgsInProto = Proto->getNumArgs();
3436 if (NumArgs != NumArgsInProto)
3438 NumArgsToCheck = NumArgsInProto;