]> granicus.if.org Git - clang/commit
Remove a few more bogus returns when the switch covers all the
authorChandler Carruth <chandlerc@gmail.com>
Sun, 1 May 2011 07:23:23 +0000 (07:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 1 May 2011 07:23:23 +0000 (07:23 +0000)
commita280bc86b1b982c7ab7e0fc96f172967f27d1863
tree0a162a9d5dcfdd998617a41068b34b1ffb0cb7fb
parente194710fcd012df67a2694477ef8ce5a19bf376c
Remove a few more bogus returns when the switch covers all the
enumerators.

Also remove a default that led to llvm_unreachable to make another
switch warn if any enumerators fail to be covered.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/StmtPrinter.cpp