| commit | f4ea725d38cc52d34512a11bc0d40a3e9bfffaec | [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 | eb3c2d8fda69c9438ea7b79ce489e0633c425681 | |
| parent | 94a6899e2314964db5b1fb3fb9f37ee511a2f2fa [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. llvm-svn: 107222