Lines Matching defs:PackScope
1242 PackDeductionScope PackScope(S, TemplateParams, Deduced, Info, Pattern);
1246 if (ParamIdx + 1 == NumParams || PackScope.hasFixedArity()) {
1247 for (; ArgIdx < NumArgs && PackScope.hasNextElement(); ++ArgIdx) {
1256 PackScope.nextPackElement();
1277 if (NumExpansions && !PackScope.isPartiallyExpanded()) {
1280 PackScope.nextPackElement();
1286 if (auto Result = PackScope.finish();
2631 PackDeductionScope PackScope(S, TemplateParams, Deduced, Info, Pattern);
2637 PackScope.hasNextElement();
2648 PackScope.nextPackElement();
2653 if (auto Result = PackScope.finish();
4488 PackDeductionScope PackScope(*this, TemplateParams, Deduced, Info,
4508 if (IsTrailingPack || PackScope.hasFixedArity()) {
4509 for (; ArgIdx < Args.size() && PackScope.hasNextElement();
4510 PackScope.nextPackElement(), ++ArgIdx) {
4523 if (NumExpansions && !PackScope.isPartiallyExpanded()) {
4529 PackScope.nextPackElement();
4531 } else if (!IsTrailingPack && !PackScope.isPartiallyExpanded() &&
4532 PackScope.isDeducedFromEarlierParameter()) {
4546 PackScope.getSavedPackSizeIfAllEqual();
4559 PackScope.nextPackElement();
4566 if (auto Result = PackScope.finish();