Re: Implement -Wimplicit-fallthrough: core (take 2)

2016-07-27 Thread Marek Polacek
On Wed, Jul 27, 2016 at 06:46:33PM +0200, Marek Polacek wrote: > +static tree > +warn_implicit_fallthrough_r (gimple_stmt_iterator *gsi_p, bool > *handled_ops_p, > +struct walk_stmt_info *) Yes, bad formatting here. I'll fix. Marek

Re: Implement -Wimplicit-fallthrough: core (take 2)

2016-07-27 Thread Marek Polacek
On Fri, Jul 22, 2016 at 01:06:41PM +0200, Jakub Jelinek wrote: > On Fri, Jul 22, 2016 at 12:44:07PM +0200, Marek Polacek wrote: > > --- gcc/gcc/cp/parser.h > > +++ gcc/gcc/cp/parser.h > > @@ -46,7 +46,7 @@ struct GTY (()) cp_token { > > Otherwise, this value is RID_MAX. */ > >ENUM_BITFIE