Lines Matching defs:pack
1488 "should only have multiple expansions for a pack");
1578 /// Transform a reference to a function or init-capture parameter pack.
1582 /// expand a function parameter pack reference which refers to an expanded
1583 /// pack.
1615 // Override the default version to handle a rewrite-template-arg-pack case
1624 // Literally rewrite the template argument pack, instead of unpacking
1626 for (auto &pack : Arg.getPackAsArray()) {
1628 pack, QualType(), SourceLocation{});
1668 /// Transforms an already-substituted template type parameter pack
1669 /// into either itself (if we aren't substituting into its pack expansion)
1893 "Missing argument pack");
1944 "Missing argument pack");
2045 "unexpected pack arguments in template rewrite");
2058 "Missing argument pack");
2061 // We have the template argument pack to substitute, but we're not
2062 // actually expanding the enclosing pack expansion yet. So, just
2063 // keep the entire argument pack.
2130 "unexpected pack arguments in template rewrite");
2144 "Missing argument pack");
2147 // We have an argument pack, but we can't select a particular argument
2149 // argument pack.
2335 // We aren't expanding the parameter pack, so just return ourselves.
2400 // We can expand this parameter pack now.
2437 assert(Found && "no instantiation for parameter pack");
2441 // If this is a reference to a function parameter pack which we can
2458 // We have either an unexpanded pack or a specific expansion.
2596 "unexpected pack arguments in template rewrite");
2611 "Missing argument pack");
2614 // We have the template argument pack, but we're not expanding the
2615 // enclosing pack expansion yet. Just save the template argument
2616 // pack for later substitution.
2675 // We aren't expanding the parameter pack, so just return ourselves.
3243 // inside a pack expansion. For example,
3324 // We have a function parameter pack. Substitute into the pattern of the
3333 // our function parameter is still a function parameter pack.
3334 // Therefore, make its type a pack expansion type.
3338 // We expected to get a parameter pack but didn't (because the type
3339 // itself is not a pack expansion type), so complain. This can occur when
3341 // pack expansion.
3416 // Add the new parameter to the instantiated parameter pack.
3552 // This is a pack expansion. See whether we should expand it now, or
3570 // If we should expand this pack expansion now, do so.
3599 // The resulting base specifier will (still) be a pack expansion.
4704 "Creating local pack after instantiation of local");
4725 "Already have a partially-substituted pack");
4728 "Wrong number of arguments in partially-substituted pack");