]> granicus.if.org Git - clang/commit
Warn when cases are missing from a switch on a value of enumeration
authorDouglas Gregor <dgregor@apple.com>
Mon, 8 Feb 2010 22:24:16 +0000 (22:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 8 Feb 2010 22:24:16 +0000 (22:24 +0000)
commitba915af51ced751c46e7c2b9c6f3b59d2e668825
tree3fa52cf12f78b1efee68a399cca2c22115291f65
parent7dc94d689294480332ed55831f1d5786385f3b26
Warn when cases are missing from a switch on a value of enumeration
type (-Wswitch), from Michal!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95592 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaStmt.cpp
test/Sema/switch.c