Home | History | Annotate | Download | only in Sema

Lines Matching defs:Expansion

98   assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
1779 // expansion of types. Substitute into each of the expanded types.
1802 // The non-type template parameter pack's type is a pack expansion of types.
1805 PackExpansionTypeLoc Expansion = TL.castAs<PackExpansionTypeLoc>();
1806 TypeLoc Pattern = Expansion.getPatternLoc();
1815 = Expansion.getTypePtr()->getNumExpansions();
1817 if (SemaRef.CheckParameterPacksForExpansion(Expansion.getEllipsisLoc(),
1844 // expanded parameter pack is the original expansion type, but callers
1850 // We cannot fully expand the pack expansion now, so substitute into the
1851 // pattern and create a new pack expansion type.
1859 DI = SemaRef.CheckPackExpansion(NewPattern, Expansion.getEllipsisLoc(),
1944 // expansion of template parameters. Substitute into each of the expanded
1950 TemplateParameterList *Expansion =
1952 if (!Expansion)
1954 ExpandedParams.push_back(Expansion);
1984 TemplateParameterList *Expansion = SubstTemplateParams(TempParams);
1985 if (!Expansion)
1987 ExpandedParams.push_back(Expansion);
1991 // expanded parameter pack is the original expansion type, but callers
1996 // We cannot fully expand the pack expansion now, so just substitute
2719 // Parameter pack expansion: make the instantiation an argument pack.
2832 // We have a pack expansion. Instantiate it.
2837 "Pack expansion without parameter packs?");
2852 // We can't expand this pack expansion into separate arguments yet;
2853 // just substitute into the pattern and create a new pack expansion
2867 // Substitute into the pack expansion pattern for each template
3661 // This is a pack expansion. We should expand it now.