Re: [PATCH v2] C++: Add fix-it hints for -Wold-style-cast

2017-06-20 Thread Jason Merrill
On Wed, May 3, 2017 at 9:51 AM, David Malcolm wrote: > On Thu, 2017-04-27 at 23:03 +0200, Marek Polacek wrote: >> On Thu, Apr 27, 2017 at 05:10:24PM -0400, David Malcolm wrote: >> > + /* First try const_cast. */ >> > + trial = build_const_cast (dst_type, orig_expr, 0 /* complain >> > */); >> >

[PING^3] re [PATCH v2] C++: Add fix-it hints for -Wold-style-cast

2017-06-20 Thread David Malcolm
Ping re this patch: https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00204.html (more description can be seen in v1 of the patch here: https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01429.html ) On Mon, 2017-06-05 at 12:41 -0400, David Malcolm wrote: > Ping re this patch: > > https://gcc.gnu.

[PING^2] re [PATCH v2] C++: Add fix-it hints for -Wold-style-cast

2017-06-05 Thread David Malcolm
Ping re this patch: https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00204.html On Fri, 2017-05-26 at 15:35 -0400, David Malcolm wrote: > On Wed, 2017-05-03 at 09:51 -0400, David Malcolm wrote: > > On Thu, 2017-04-27 at 23:03 +0200, Marek Polacek wrote: > > > On Thu, Apr 27, 2017 at 05:10:24PM -040

[PING] re [PATCH v2] C++: Add fix-it hints for -Wold-style-cast

2017-05-26 Thread David Malcolm
On Wed, 2017-05-03 at 09:51 -0400, David Malcolm wrote: > On Thu, 2017-04-27 at 23:03 +0200, Marek Polacek wrote: > > On Thu, Apr 27, 2017 at 05:10:24PM -0400, David Malcolm wrote: > > > + /* First try const_cast. */ > > > + trial = build_const_cast (dst_type, orig_expr, 0 /* complain > > > */);

[PATCH v2] C++: Add fix-it hints for -Wold-style-cast

2017-05-03 Thread David Malcolm
On Thu, 2017-04-27 at 23:03 +0200, Marek Polacek wrote: > On Thu, Apr 27, 2017 at 05:10:24PM -0400, David Malcolm wrote: > > + /* First try const_cast. */ > > + trial = build_const_cast (dst_type, orig_expr, 0 /* complain > > */); > > + if (trial != error_mark_node) > > +return "const_cast"