Lines Matching refs:ArgIdx
724 unsigned ArgIdx = 0, ParamIdx = 0;
733 if (ArgIdx >= NumArgs)
736 if (isa<PackExpansionType>(Args[ArgIdx])) {
746 Params[ParamIdx], Args[ArgIdx],
752 ++ArgIdx;
800 for (; ArgIdx < NumArgs; ++ArgIdx) {
806 Args[ArgIdx], Info, Deduced,
833 if (ArgIdx < NumArgs)
1702 /// parameters so that \c Args[ArgIdx] will be the available template argument.
1705 /// \c Args[ArgIdx]), false otherwise.
1707 unsigned &ArgIdx,
1709 if (ArgIdx == NumArgs)
1712 const TemplateArgument &Arg = Args[ArgIdx];
1716 assert(ArgIdx == NumArgs - 1 && "Pack not at the end of argument list?");
1719 ArgIdx = 0;
1720 return ArgIdx < NumArgs;
1727 unsigned ArgIdx = 0;
1728 while (ArgIdx < NumArgs) {
1729 const TemplateArgument &Arg = Args[ArgIdx];
1732 if (Args[ArgIdx].getKind() == TemplateArgument::Pack) {
1735 ArgIdx = 0;
1739 ++ArgIdx;
1740 if (ArgIdx == NumArgs)
1768 unsigned ArgIdx = 0, ParamIdx = 0;
1775 if (!hasTemplateArgumentForDeduction(Args, ArgIdx, NumArgs))
1778 if (Args[ArgIdx].isPackExpansion()) {
1787 Params[ParamIdx], Args[ArgIdx],
1792 ++ArgIdx;
1840 while (hasTemplateArgumentForDeduction(Args, ArgIdx, NumArgs)) {
1845 = DeduceTemplateArguments(S, TemplateParams, Pattern, Args[ArgIdx],
1860 ++ArgIdx;
2169 unsigned ArgIdx = InstArgs.size(), ParamIdx = ArgIdx;
2177 Info.FirstArg = PartialTemplateArgs[ArgIdx].getArgument();
2736 unsigned ParamIdx = OriginalArg.ArgIdx;
3112 unsigned ArgIdx = 0;
3123 if (ArgIdx >= CheckArgs)
3126 Expr *Arg = Args[ArgIdx++];
3163 OriginalCallArgs.push_back(OriginalCallArg(OrigParamType, ArgIdx-1,
3214 for (; ArgIdx < Args.size(); ++ArgIdx) {
3219 Expr *Arg = Args[ArgIdx];
3228 ++ArgIdx;
3236 ++ArgIdx;
3252 OriginalCallArgs.push_back(OriginalCallArg(OrigParamType, ArgIdx,
3828 unsigned ArgIdx = 0, NumArgs = Deduced.size();
3829 for (; ArgIdx != NumArgs; ++ArgIdx)
3830 if (Deduced[ArgIdx].isNull())
3833 if (ArgIdx == NumArgs) {
3870 for (; ArgIdx != NumArgs; ++ArgIdx)
3873 if (Deduced[ArgIdx].isNull() && UsedParameters[ArgIdx])