[cfe-dev] -Wswitch warning patch

Douglas Gregor dgregor at apple.com
Mon Feb 8 14:25:39 PST 2010

On Feb 6, 2010, at 7:15 AM, Michal wrote:

>> Makes sense. The patch looks good, and I can commit it; do you have test cases?
> Few tests are in attachment.

Thanks! I've committed your patch as r95592. The only thing I changed was to add the warning group -Wswitch-enum (which is also enabled by -Wswitch), and to associate your new warnings with -Wswitch-enum. That way, these warnings can be selectively turned on/off.

	- Doug

More information about the cfe-dev mailing list