Home
last modified time | relevance | path

Searched refs:MinArgs (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaExpr.cpp4702 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams; in ConvertArgumentsForCall() local
4711 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 …]
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp5761 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams; in ConvertArgumentsForCall() local
5770 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 …]