Lines Matching refs:ArgIdx
782 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local
791 if (ArgIdx >= NumArgs) in DeduceTemplateArguments()
794 if (isa<PackExpansionType>(Args[ArgIdx])) { in DeduceTemplateArguments()
804 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments()
809 ++ArgIdx; in DeduceTemplateArguments()
831 for (; ArgIdx < NumArgs; ++ArgIdx) { in DeduceTemplateArguments()
837 Args[ArgIdx], Info, Deduced, in DeduceTemplateArguments()
851 if (ArgIdx < NumArgs) in DeduceTemplateArguments()
1792 unsigned &ArgIdx, in hasTemplateArgumentForDeduction() argument
1794 if (ArgIdx == NumArgs) in hasTemplateArgumentForDeduction()
1797 const TemplateArgument &Arg = Args[ArgIdx]; in hasTemplateArgumentForDeduction()
1801 assert(ArgIdx == NumArgs - 1 && "Pack not at the end of argument list?"); in hasTemplateArgumentForDeduction()
1804 ArgIdx = 0; in hasTemplateArgumentForDeduction()
1805 return ArgIdx < NumArgs; in hasTemplateArgumentForDeduction()
1812 unsigned ArgIdx = 0; in hasPackExpansionBeforeEnd() local
1813 while (ArgIdx < NumArgs) { in hasPackExpansionBeforeEnd()
1814 const TemplateArgument &Arg = Args[ArgIdx]; in hasPackExpansionBeforeEnd()
1817 if (Args[ArgIdx].getKind() == TemplateArgument::Pack) { in hasPackExpansionBeforeEnd()
1820 ArgIdx = 0; in hasPackExpansionBeforeEnd()
1824 ++ArgIdx; in hasPackExpansionBeforeEnd()
1825 if (ArgIdx == NumArgs) in hasPackExpansionBeforeEnd()
1853 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local
1860 if (!hasTemplateArgumentForDeduction(Args, ArgIdx, NumArgs)) in DeduceTemplateArguments()
1864 if (Args[ArgIdx].isPackExpansion()) { in DeduceTemplateArguments()
1873 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments()
1878 ++ArgIdx; in DeduceTemplateArguments()
1902 for (; hasTemplateArgumentForDeduction(Args, ArgIdx, NumArgs); ++ArgIdx) { in DeduceTemplateArguments()
1907 = DeduceTemplateArguments(S, TemplateParams, Pattern, Args[ArgIdx], in DeduceTemplateArguments()
2223 unsigned ArgIdx = InstArgs.size(), ParamIdx = ArgIdx; in FinishTemplateArgumentDeduction() local
2231 Info.FirstArg = PartialTemplateArgs[ArgIdx].getArgument(); in FinishTemplateArgumentDeduction()
2362 unsigned ArgIdx = InstArgs.size(), ParamIdx = ArgIdx; in FinishTemplateArgumentDeduction() local
2369 Info.FirstArg = PartialTemplateArgs[ArgIdx].getArgument(); in FinishTemplateArgumentDeduction()
2934 unsigned ParamIdx = OriginalArg.ArgIdx; in FinishTemplateArgumentDeduction()
2943 Info.CallArgIndex = OriginalArg.ArgIdx; in FinishTemplateArgumentDeduction()
3379 unsigned ArgIdx = 0; in DeduceTemplateArguments() local
3390 if (ArgIdx >= CheckArgs) in DeduceTemplateArguments()
3393 Expr *Arg = Args[ArgIdx++]; in DeduceTemplateArguments()
3422 OriginalCallArgs.push_back(OriginalCallArg(OrigParamType, ArgIdx-1, in DeduceTemplateArguments()
3451 for (; ArgIdx < Args.size(); ++ArgIdx) { in DeduceTemplateArguments()
3456 Expr *Arg = Args[ArgIdx]; in DeduceTemplateArguments()
3465 ++ArgIdx; in DeduceTemplateArguments()
3474 ++ArgIdx; in DeduceTemplateArguments()
3485 OriginalCallArgs.push_back(OriginalCallArg(OrigParamType, ArgIdx, in DeduceTemplateArguments()
4282 unsigned ArgIdx = 0, NumArgs = Deduced.size(); in isAtLeastAsSpecializedAs() local
4283 for (; ArgIdx != NumArgs; ++ArgIdx) in isAtLeastAsSpecializedAs()
4284 if (Deduced[ArgIdx].isNull()) in isAtLeastAsSpecializedAs()
4287 if (ArgIdx == NumArgs) { in isAtLeastAsSpecializedAs()
4315 for (; ArgIdx != NumArgs; ++ArgIdx) in isAtLeastAsSpecializedAs()
4318 if (Deduced[ArgIdx].isNull() && UsedParameters[ArgIdx]) in isAtLeastAsSpecializedAs()