You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Clang] Form PackExpansionTypes of TemplateArguments for rewrite substitution
When substituting for rewrite purposes, as in rebuilding constraints for a synthesized
deduction guide, it assumed that packs were in PackExpansion* form, such that the
instantiator could extract a pattern. For type aliases CTAD, while rebuilding their
associated constraints, we rebuild the template arguments using TransformTemplateArgument(),
which did not guarantee the establishment of PackExpansions as getInjectedTemplateArguments() does.
This patch fixes that by making it call RebuildPackExpansion() if the
transformed arguments are still having unexpanded parameter packs.
0 commit comments