Lines Matching refs:NumExpansions
631 std::optional<unsigned> NumExpansions) { in CheckPackExpansion() argument
635 EllipsisLoc, NumExpansions); in CheckPackExpansion()
649 std::optional<unsigned> NumExpansions) { in CheckPackExpansion() argument
664 return Context.getPackExpansionType(Pattern, NumExpansions, in CheckPackExpansion()
673 std::optional<unsigned> NumExpansions) { in CheckPackExpansion() argument
690 PackExpansionExpr(Context.DependentTy, Pattern, EllipsisLoc, NumExpansions); in CheckPackExpansion()
697 bool &RetainExpansion, std::optional<unsigned> &NumExpansions) { in CheckParameterPacksForExpansion() argument
777 if (!NumExpansions) { in CheckParameterPacksForExpansion()
780 NumExpansions = NewPackSize; in CheckParameterPacksForExpansion()
787 if (NewPackSize != *NumExpansions) { in CheckParameterPacksForExpansion()
793 << FirstPack.first << Name << *NumExpansions << NewPackSize in CheckParameterPacksForExpansion()
797 << Name << *NumExpansions << NewPackSize in CheckParameterPacksForExpansion()
813 if (NumExpansions && *NumExpansions < *NumPartialExpansions) { in CheckParameterPacksForExpansion()
817 << PartialPack << *NumPartialExpansions << *NumExpansions in CheckParameterPacksForExpansion()
822 NumExpansions = NumPartialExpansions; in CheckParameterPacksForExpansion()
1129 std::optional<unsigned> &NumExpansions) const { in getTemplateArgumentPackExpansionPattern()
1145 NumExpansions = Expansion.getTypePtr()->getNumExpansions(); in getTemplateArgumentPackExpansionPattern()
1163 NumExpansions = Expansion->getNumExpansions(); in getTemplateArgumentPackExpansionPattern()
1169 NumExpansions = Argument.getNumTemplateExpansions(); in getTemplateArgumentPackExpansionPattern()
1341 std::optional<unsigned> NumExpansions) { in BuildCXXFoldExpr() argument
1344 EllipsisLoc, RHS, RParenLoc, NumExpansions); in BuildCXXFoldExpr()