[PATCH 1/4] -Wmisleading-indentation: don't warn in presence of entirely blank lines

Mike Stump mikestump@comcast.net
Thu Oct 29 17:56:00 GMT 2015


On Oct 29, 2015, at 10:42 AM, Patrick Palka <patrick@parcs.ath.cx> wrote:
> However we should definitely not warn on
> 
>    if (foo)
>      bar ();
> 
>      {
>        baz ();
>      }
> 
> Since that is valid GNU-style code :)

I’ll put it differently; no, that formatting is wrong.



More information about the Gcc-patches mailing list