Lines Matching refs:Index
524 /// \brief Retrieve the depth and index of a template parameter.
537 /// \brief Retrieve the depth and index of an unexpanded parameter pack.
560 DeducedPack(unsigned Index) : Index(Index), Outer(nullptr) {}
562 // The index of the pack.
563 unsigned Index;
594 unsigned Depth, Index;
595 std::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]);
596 if (Depth == 0 && !SawIndices[Index]) {
597 SawIndices[Index] = true;
601 DeducedPack Pack(Index);
602 Pack.Saved = Deduced[Index];
603 Deduced[Index] = TemplateArgument();
612 if (Info.PendingDeducedPacks.size() > Pack.Index)
613 Pack.Outer = Info.PendingDeducedPacks[Pack.Index];
615 Info.PendingDeducedPacks.resize(Pack.Index + 1);
616 Info.PendingDeducedPacks[Pack.Index] = &Pack;
627 getDepthAndIndex(PartiallySubstitutedPack).second == Pack.Index)
635 Info.PendingDeducedPacks[Pack.Index] = Pack.Outer;
644 DeducedTemplateArgument &DeducedArg = Deduced[Pack.Index];
660 Deduced[Pack.Index] = Pack.Saved;
697 Loc = &Deduced[Pack.Index];
714 makeTemplateParameter(TemplateParams->getParam(Pack.Index));
1068 unsigned Index = TemplateTypeParm->getIndex();
1086 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index));
1113 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index));
1135 Deduced[Index],
1138 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index));
1139 Info.FirstArg = Deduced[Index];
1144 Deduced[Index] = Result;
1885 // expanded by this pack expansion (the outer index) and for each
2525 unsigned Index = Builder.size();
2526 if (Index >= TemplateParams->size())
2527 Index = TemplateParams->size() - 1;
2528 Info.Param = makeTemplateParameter(TemplateParams->getParam(Index));
3428 // Keep track of the argument type and corresponding parameter index,
3490 // Keep track of the argument type and corresponding argument index,