[cfe-commits] r97815 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td test/Sema/scope-check.c

Eli Friedman eli.friedman at gmail.com
Fri Mar 5 15:50:40 PST 2010


On Fri, Mar 5, 2010 at 11:26 AM, Chris Lattner <sabre at nondot.org> wrote:
> Author: lattner
> Date: Fri Mar  5 13:26:49 2010
> New Revision: 97815
>
> URL: http://llvm.org/viewvc/llvm-project?rev=97815&view=rev
> Log:
> address PR6502 by downgrading the scope checker's address
> of label error to a warning controllable with a -W flag.

It would be nice to have a test which checks this actually works
correctly (i.e. the code generated for an indirect goto is generated
as if it were in the same scope as the label).

-Eli




More information about the cfe-commits mailing list