[cfe-dev] Warnings patch for gcc 4.2.x
clattner at apple.com
Sun Sep 16 12:24:31 PDT 2007
On Sep 15, 2007, at 3:34 PM, Justin Handville wrote:
> This patch fixes all of the warnings currently generated in trunk with
> -Wall -Werror.
> Mostly, this stubs out missing enums in switch statements. Also, note
> the fix for InvalidDecl below.
> --- AST/Decl.cpp (revision 41989)
> +++ AST/Decl.cpp (working copy)
> @@ -105,6 +105,21 @@
> case ObjcInterface:
> + case ObjcClass:
> + //FIXME add functionality here.
> + break;
For chunks like this, please change these to assert on the
unimplemented case so we can find them easily if executed.
More information about the cfe-dev