[cfe-commits] r148679 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaStmt.cpp test/Sema/switch-enum.c

jahanian fjahanian at apple.com
Mon Jan 23 09:00:15 PST 2012


On Jan 22, 2012, at 8:46 PM, David Blaikie wrote:

> Author: dblaikie
> Date: Sun Jan 22 22:46:12 2012
> New Revision: 148679
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=148679&view=rev
> Log:
> Implement -Wswitch-enum correctly.
> 
> Clang previously implemented -Wswitch-enum the same as -Wswitch. This patch
> corrects the behavior to match GCC's. The critical/only difference being that
> -Wswitch-enum is not silenced by the presence of a default case in the switch.
> 

Thanks,

    - Fariborz





More information about the cfe-commits mailing list