c++: add fixup to missing .template warning
commit288c6cce0277e03e08b324283b6a015a70066bb7
authorJason Merrill <jason@redhat.com>
Wed, 29 Jun 2022 21:12:09 +0000 (29 17:12 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 1 Jul 2022 14:49:23 +0000 (1 10:49 -0400)
treeed9ece5db81c8c6b959219ba0804bf5ce0381708
parent07ac550393d00fcadcee21b44abee6bb30c93949
c++: add fixup to missing .template warning

I experimented with giving this diagnostic in another place, which didn't
work out, but we can still benefit from adding the fixup.

gcc/cp/ChangeLog:

* parser.cc (missing_template_diag): Split out...
(cp_parser_id_expression): ...from here.
gcc/cp/parser.cc