On Sun, Aug 3, 2014 at 4:55 PM, Benjamin Bannier <[email protected]> wrote:
> While clang issues a warns about a possibly incomplete switch statement > when switching over an enum variable and failing to cover all enum > values (either explicitly or with a default case), no such warning is > emitted if a plain integer variable is used as switch variable. > If we consider this diagnostic useful, then we should implement -Wswitch-default in Clang (GCC has it, Clang doesn't).
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
