aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2021-03-30 22:54:37 -0400
committerPatrick Palka <ppalka@redhat.com>2021-03-30 22:54:37 -0400
commit0bbf0edbfc782f8e4e416d5fbd1b52a515adb585 (patch)
treeaeb995df7e895e1883c7959b486e5faf33d3f00b /gcc/tree-data-ref.c
parent08d2edae5d84209c0dcf327a13d4f6b4eacdb1ac (diff)
downloadgcc-0bbf0edbfc782f8e4e416d5fbd1b52a515adb585.zip
gcc-0bbf0edbfc782f8e4e416d5fbd1b52a515adb585.tar.gz
gcc-0bbf0edbfc782f8e4e416d5fbd1b52a515adb585.tar.bz2
c++: placeholder type constraint and argument pack [PR99815]
When checking dependence of a placeholder type constraint, if the first template argument of the constraint is an argument pack, we need to expand it in order to properly separate the implicit 'auto' argument from the rest. gcc/cp/ChangeLog: PR c++/99815 * pt.c (placeholder_type_constraint_dependent_p): Expand argument packs to separate the first non-pack argument from the rest. gcc/testsuite/ChangeLog: PR c++/99815 * g++.dg/cpp2a/concepts-placeholder5.C: New test.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions