Re: [PATCH RFC] c++: add color to function decl printing

2021-12-14 Thread Martin Sebor via Gcc-patches
On 12/13/21 10:41 PM, Jason Merrill wrote: On 12/13/21 14:22, Martin Sebor wrote: On 12/11/21 10:39 PM, Jason Merrill via Gcc-patches wrote: In reading C++ diagnostics, it's often hard to find the name of the function in the middle of the template header, return type, parameters, and template

Re: [PATCH RFC] c++: add color to function decl printing

2021-12-13 Thread Jason Merrill via Gcc-patches
On 12/13/21 14:22, Martin Sebor wrote: On 12/11/21 10:39 PM, Jason Merrill via Gcc-patches wrote: In reading C++ diagnostics, it's often hard to find the name of the function in the middle of the template header, return type, parameters, and template arguments.  So let's colorize it, and maybe

Re: [PATCH RFC] c++: add color to function decl printing

2021-12-13 Thread Jonathan Wakely via Gcc-patches
On Mon, 13 Dec 2021 at 19:22, Martin Sebor wrote: > On 12/11/21 10:39 PM, Jason Merrill via Gcc-patches wrote: > > In reading C++ diagnostics, it's often hard to find the name of the > function > > in the middle of the template header, return type, parameters, and > template > > arguments. So le

Re: [PATCH RFC] c++: add color to function decl printing

2021-12-13 Thread Martin Sebor via Gcc-patches
On 12/11/21 10:39 PM, Jason Merrill via Gcc-patches wrote: In reading C++ diagnostics, it's often hard to find the name of the function in the middle of the template header, return type, parameters, and template arguments. So let's colorize it, and maybe the template argument bindings while we'r

Re: [PATCH RFC] c++: add color to function decl printing

2021-12-13 Thread Jonathan Wakely via Gcc-patches
On Sun, 12 Dec 2021 at 05:39, Jason Merrill wrote: > > In reading C++ diagnostics, it's often hard to find the name of the function > in the middle of the template header, return type, parameters, and template > arguments. So let's colorize it, and maybe the template argument bindings > while we'

[PATCH RFC] c++: add color to function decl printing

2021-12-11 Thread Jason Merrill via Gcc-patches
In reading C++ diagnostics, it's often hard to find the name of the function in the middle of the template header, return type, parameters, and template arguments. So let's colorize it, and maybe the template argument bindings while we're at it. I've somewhat arbitrarily chosen bold green for the