Lines Matching defs:PackScope
1190 PackDeductionScope PackScope(S, TemplateParams, Deduced, Info, Pattern,
1196 if (ParamIdx + 1 == Params.size() || PackScope.hasFixedArity()) {
1197 for (; ArgIdx < Args.size() && PackScope.hasNextElement(); ++ArgIdx) {
1205 PackScope.nextPackElement();
1226 if (NumExpansions && !PackScope.isPartiallyExpanded()) {
1229 PackScope.nextPackElement();
1235 if (auto Result = PackScope.finish();
2767 PackDeductionScope PackScope(S, TemplateParams, Deduced, Info, Pattern);
2773 PackScope.hasNextElement();
2788 PackScope.nextPackElement();
2793 return PackScope.finish();
4689 PackDeductionScope PackScope(*this, TemplateParams, Deduced, Info,
4709 if (IsTrailingPack || PackScope.hasFixedArity()) {
4710 for (; ArgIdx < Args.size() && PackScope.hasNextElement();
4711 PackScope.nextPackElement(), ++ArgIdx) {
4724 if (NumExpansions && !PackScope.isPartiallyExpanded()) {
4730 PackScope.nextPackElement();
4732 } else if (!IsTrailingPack && !PackScope.isPartiallyExpanded() &&
4733 PackScope.isDeducedFromEarlierParameter()) {
4747 PackScope.getSavedPackSizeIfAllEqual();
4760 PackScope.nextPackElement();
4767 if (auto Result = PackScope.finish();