Home | History | Annotate | Download | only in Sema

Lines Matching defs:Expansion

117   assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
2591 "type parameter can only be an expansion when explicit arguments "
2593 // The template type parameter pack's type is a pack expansion of types.
2682 // expansion of types. Substitute into each of the expanded types.
2705 // The non-type template parameter pack's type is a pack expansion of types.
2708 PackExpansionTypeLoc Expansion = TL.castAs<PackExpansionTypeLoc>();
2709 TypeLoc Pattern = Expansion.getPatternLoc();
2718 = Expansion.getTypePtr()->getNumExpansions();
2720 if (SemaRef.CheckParameterPacksForExpansion(Expansion.getEllipsisLoc(),
2747 // expanded parameter pack is the original expansion type, but callers
2753 // We cannot fully expand the pack expansion now, so substitute into the
2754 // pattern and create a new pack expansion type.
2763 DI = SemaRef.CheckPackExpansion(NewPattern, Expansion.getEllipsisLoc(),
2855 // expansion of template parameters. Substitute into each of the expanded
2861 TemplateParameterList *Expansion =
2863 if (!Expansion)
2865 ExpandedParams.push_back(Expansion);
2895 TemplateParameterList *Expansion = SubstTemplateParams(TempParams);
2896 if (!Expansion)
2898 ExpandedParams.push_back(Expansion);
2902 // expanded parameter pack is the original expansion type, but callers
2907 // We cannot fully expand the pack expansion now, so just substitute
3104 // If this is a pack expansion, expand it now.
3123 "should never need to retain an expansion for UsingPackDecl");
3126 // We cannot fully expand the pack expansion now, so substitute into the
3127 // pattern and create a new pack expansion.
3134 // same pack expansion, but this is always ill-formed because all expansions
3138 // could be valid if the pack is empty or has exactly one expansion.
3180 // Produce a pack expansion only if we're not instantiating a particular
3181 // slice of a pack expansion.
4179 // Parameter pack expansion: make the instantiation an argument pack.
5408 // This is a pack expansion. We should expand it now.
5639 // using declaration if it's a pack expansion. We want the UsingPackDecl