On 01/08/2016 03:43 AM, Jakub Jelinek wrote:
On Tue, Dec 22, 2015 at 12:33:51PM -0500, Patrick Palka wrote:
We are emitting a bogus warning for the code
do foo (0); while (flagA);
^--- NEXT
^ BODY
^--- GUARD
In general I don't think we can get
On Tue, Dec 22, 2015 at 12:33:51PM -0500, Patrick Palka wrote:
> We are emitting a bogus warning for the code
>
> do foo (0); while (flagA);
> ^--- NEXT
> ^ BODY
> ^--- GUARD
>
> In general I don't think we can get any useful indentation warning out
On 01/05/2016 10:58 PM, David Malcolm wrote:
In general I don't think we can get any useful indentation warning out
of a do-while statement, so this patch makes it so that we just skip
them.
Is this OK to commit after testing?
It looks like this is PR c++/69029. FWIW, I agree with your ratio
On Tue, 2015-12-22 at 12:33 -0500, Patrick Palka wrote:
> We are emitting a bogus warning for the code
>
> do foo (0); while (flagA);
> ^--- NEXT
> ^ BODY
> ^--- GUARD
>
> In general I don't think we can get any useful indentation warning out
> of a
We are emitting a bogus warning for the code
do foo (0); while (flagA);
^--- NEXT
^ BODY
^--- GUARD
In general I don't think we can get any useful indentation warning out
of a do-while statement, so this patch makes it so that we just skip
them.
Is