Searched refs:MinArgs (Results 1 – 2 of 2) sorted by relevance
4702 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams; in ConvertArgumentsForCall() local4711 if (Args.size() < MinArgs) { in ConvertArgumentsForCall()4715 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()4718 diagnoseTypo(TC, PDiag(diag_id) << FnKind << MinArgs in ConvertArgumentsForCall()4721 } else if (MinArgs == 1 && FDecl && FDecl->getParamDecl(0)->getDeclName()) in ConvertArgumentsForCall()4723 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()4728 Diag(RParenLoc, MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()4731 << FnKind << MinArgs << static_cast<unsigned>(Args.size()) in ConvertArgumentsForCall()4751 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()4760 MinArgs == NumParams in ConvertArgumentsForCall()[all …]
5761 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams; in ConvertArgumentsForCall() local5770 if (Args.size() < MinArgs) { in ConvertArgumentsForCall()5774 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()5777 diagnoseTypo(TC, PDiag(diag_id) << FnKind << MinArgs in ConvertArgumentsForCall()5780 } else if (MinArgs == 1 && FDecl && FDecl->getParamDecl(0)->getDeclName()) in ConvertArgumentsForCall()5782 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()5787 Diag(RParenLoc, MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()5790 << FnKind << MinArgs << static_cast<unsigned>(Args.size()) in ConvertArgumentsForCall()5812 MinArgs == NumParams && !Proto->isVariadic() in ConvertArgumentsForCall()5821 MinArgs == NumParams in ConvertArgumentsForCall()[all …]