]> granicus.if.org Git - clang/commit
PR11778: Fix the rejects-valid half of this bug. We still produce the same
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 4 Aug 2014 00:40:48 +0000 (00:40 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 4 Aug 2014 00:40:48 +0000 (00:40 +0000)
commit6a70bed7ff80e687a18b52e07f9ca522d57c7f67
tree9b01f05b7fcd74c5de06f133947eae65d70f6546
parent997e4c4958c8b4cc9cc5f56ffeb9d2fd3bd96724
PR11778: Fix the rejects-valid half of this bug. We still produce the same
poorly-worded warning for a case value that is not a possible value of the
switched-on expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214678 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/Sema/switch.c