aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-01-27 10:56:34 -0500
committerPatrick Palka <ppalka@redhat.com>2022-01-27 10:56:34 -0500
commitce6054a22ae14594a2919d2ad87cd9478e616fb3 (patch)
treeb9c1502edf19c7aa58460dec70d55040842dee0c /gcc/tree.h
parent14f339894db6ca7fe4772d5528c726694d2517c4 (diff)
downloadgcc-ce6054a22ae14594a2919d2ad87cd9478e616fb3.zip
gcc-ce6054a22ae14594a2919d2ad87cd9478e616fb3.tar.gz
gcc-ce6054a22ae14594a2919d2ad87cd9478e616fb3.tar.bz2
c++: constrained partial spec using qualified name [PR92944, PR103678]
In the nested_name_specifier branch within cp_parser_class_head, we need to update 'type' with the result of maybe_process_partial_specialization like we do in the template_id_p branch. PR c++/92944 PR c++/103678 gcc/cp/ChangeLog: * parser.cc (cp_parser_class_head): Update 'type' with the result of maybe_process_partial_specialization in the nested_name_specifier branch. Refactor nearby code to accomodate that maybe_process_partial_specialization returns a _TYPE, not a TYPE_DECL, and eliminate local variable 'class_type' in passing. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/concepts-partial-spec10.C: New test. * g++.dg/cpp2a/concepts-partial-spec11.C: New test.
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions