Lines Matching refs:Args
135 const TemplateArgument *Args, unsigned NumArgs,
687 /// \param Args The list of argument types
689 /// \param NumArgs The number of types in \c Args
712 const QualType *Args, unsigned NumArgs,
722 !(NumArgs && isa<PackExpansionType>(Args[NumArgs - 1])))
742 if (isa<PackExpansionType>(Args[ArgIdx])) {
752 Params[ParamIdx], Args[ArgIdx],
811 Args[ArgIdx], Info, Deduced,
1746 /// parameters so that \c Args[ArgIdx] will be the available template argument.
1749 /// \c Args[ArgIdx]), false otherwise.
1750 static bool hasTemplateArgumentForDeduction(const TemplateArgument *&Args,
1756 const TemplateArgument &Arg = Args[ArgIdx];
1761 Args = Arg.pack_begin();
1769 static bool hasPackExpansionBeforeEnd(const TemplateArgument *Args,
1773 const TemplateArgument &Arg = Args[ArgIdx];
1776 if (Args[ArgIdx].getKind() == TemplateArgument::Pack) {
1777 Args = Arg.pack_begin();
1798 const TemplateArgument *Args, unsigned NumArgs,
1819 if (!hasTemplateArgumentForDeduction(Args, ArgIdx, NumArgs))
1822 if (Args[ArgIdx].isPackExpansion()) {
1831 Params[ParamIdx], Args[ArgIdx],
1883 while (hasTemplateArgumentForDeduction(Args, ArgIdx, NumArgs)) {
1888 = DeduceTemplateArguments(S, TemplateParams, Pattern, Args[ArgIdx],
3250 /// \param Args the function call arguments
3263 llvm::ArrayRef<Expr *> Args,
3275 unsigned CheckArgs = Args.size();
3276 if (Args.size() < Function->getMinRequiredArguments())
3278 else if (Args.size() > Function->getNumParams()) {
3331 Expr *Arg = Args[ArgIdx++];
3418 for (; ArgIdx < Args.size(); ++ArgIdx) {
3423 Expr *Arg = Args[ArgIdx];