aboutsummaryrefslogtreecommitdiff
path: root/gcc/DATESTAMP
diff options
context:
space:
mode:
authorA J Ryan Solutions Ltd <gcc.gnu.org@ajryansolutions.co.uk>2025-02-02 22:26:32 +0000
committerJason Merrill <jason@redhat.com>2025-02-03 18:49:35 -0500
commit26d3424ca5d9f47d7e0b6fcaf0fae48435a73442 (patch)
tree7606171a8ad456781aaa3c92b57bb179ae58fe22 /gcc/DATESTAMP
parent4c743798b1d4530b327dad7c606c610f3811fdbf (diff)
downloadgcc-26d3424ca5d9f47d7e0b6fcaf0fae48435a73442.zip
gcc-26d3424ca5d9f47d7e0b6fcaf0fae48435a73442.tar.gz
gcc-26d3424ca5d9f47d7e0b6fcaf0fae48435a73442.tar.bz2
c++: find A pack from B in <typename...A,Class<A>...B> [PR118265]
For non-type parameter packs when unifying the arguments in unify_pack_expansion it iterates over the associated packs of a param so that when it recursively unifies the param with the arguments it knows which targs have been populated with parameter pack arguments that it can then collect up. This change adds a tree walk so that in the example above it reaches ...A and adds it to the associated packs for ...B and therefore knows it will have been set in targs in unify_pack_expansion and processes it as per other pack arguments. PR c++/118265 gcc/cp/ChangeLog: * pt.cc (find_parameter_packs_r) <case TEMPLATE_PARM_INDEX>: Walk into the type of a parameter pack. Signed-off-by: Adam J Ryan <gcc.gnu.org@ajryansolutions.co.uk>
Diffstat (limited to 'gcc/DATESTAMP')
0 files changed, 0 insertions, 0 deletions