Re: [PATCH] c++: "'decltype_type' not supported" in diagnostic [PR85278]

2020-04-14 Thread Jason Merrill via Gcc-patches
On 4/14/20 11:46 AM, Patrick Palka wrote: This fixes a garbled concepts diagnostic by moving the handling of DECLTYPE_TYPE from pp_cxx_type_specifier_seq to cxx_pretty_printer::simple_type_specifier, a move which also seems to be more consistent with the language grammar. This patch also fixes

[PATCH] c++: "'decltype_type' not supported" in diagnostic [PR85278]

2020-04-14 Thread Patrick Palka via Gcc-patches
This fixes a garbled concepts diagnostic by moving the handling of DECLTYPE_TYPE from pp_cxx_type_specifier_seq to cxx_pretty_printer::simple_type_specifier, a move which also seems to be more consistent with the language grammar. This patch also fixes pretty printing of rvalue reference types