Re: [PATCH 3/3] Support dumping type bindings in lambda diagnostics.

2013-08-27 Thread Jason Merrill
On 08/27/2013 02:46 PM, Adam Butcher wrote: Okay. As it stands, it means that you get an additional 'const' in diagnostics for lambda's not declared 'mutable'. Hmm, I guess it would be preferable to use 'mutable' or nothing when printing the lambda just like when declaring one. Jason

Re: [PATCH 3/3] Support dumping type bindings in lambda diagnostics.

2013-08-27 Thread Adam Butcher
Hi Jason, Was just about to compose a mail to gcc-patches... Been busy, then ill, now just about ready to submit a new set of diffs. On 27.08.2013 17:47, Jason Merrill wrote: This patch doesn't seem to depend on the others; go ahead and apply it. Okay. As it stands, it means that you ge

Re: [PATCH 3/3] Support dumping type bindings in lambda diagnostics.

2013-08-27 Thread Jason Merrill
This patch doesn't seem to depend on the others; go ahead and apply it. Jason

[PATCH 3/3] Support dumping type bindings in lambda diagnostics.

2013-08-11 Thread Adam Butcher
* error.c (dump_function_decl): Use standard diagnostic flow to dump a lambda diagnostic, albeit without stating the function name or duplicating the parameter spec (which is dumped as part of the type). --- gcc/cp/error.c | 22 +++--- 1 file changed, 11 ins