Factor the conversion from a switch condition to an integral or
enumeration type out into a separate, reusable routine. The only
functionality change here is that we recover a little more
aggressively from ill-formed switch conditions.

llvm-svn: 107222
5 files changed
tree: eb3c2d8fda69c9438ea7b79ce489e0633c425681
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/