This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] empty-declarations
On Tue, 2018-04-10 at 13:47 -0400, Nathan Sidwell wrote:
> On 04/10/2018 12:43 PM, Jason Merrill wrote:
> > On Tue, Apr 10, 2018 at 12:32 PM, Nathan Sidwell <nathan@acm.org>
> > wrote:
> > > On 04/10/2018 12:00 PM, Jason Merrill wrote:
> > > I don't see why we should warn at all.
> >
> > It's not on by default, but some people want to get a warning about
> > redundant semicolons. Clang also has this flag.
>
> OK, Then I presume it should warn about all such semicolons.
...and presumably each such warning should have a fix-it hint, removing
the redundant token?
Dave