Simplify type-specifier parsing.
authorJason Merrill <jason@redhat.com>
Tue, 16 Jul 2019 08:50:16 +0000 (04:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 16 Jul 2019 08:50:16 +0000 (04:50 -0400)
commitfd860f7d441d1f414bb13f2b6e1be6c4addac11f
tree879aac09f15f3495f2ee6bbbf0d639594b7a112f
parent19bd90282641da569f3da6c26eac3fd248296cb2
Simplify type-specifier parsing.

Previously, the tentative parses for optional type-specifier and to support
class template argument deduction were combined awkwardly.  This
reorganization was motivated by the new concepts branch.

* parser.c (cp_parser_simple_type_specifier): Separate tentative
parses for optional type-spec and CTAD.

From-SVN: r273514
gcc/cp/ChangeLog
gcc/cp/parser.c