commit | c30614b7e2bad089f2509499379de509f33162d6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jun 29 23:17:37 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jun 29 23:17:37 2010 +0000 |
tree | 4525bf5d86cecc8139e8db199d8347e0e7b81ffd | |
parent | 6764334dfa73d67cbbb1b1fc8fe00440aad00f2a [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107222 91177308-0d34-0410-b5e6-96231b3b80d8