]> granicus.if.org Git - clang/commit
Factor the conversion from a switch condition to an integral or
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 23:17:37 +0000 (23:17 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 23:17:37 +0000 (23:17 +0000)
commitc30614b7e2bad089f2509499379de509f33162d6
tree4525bf5d86cecc8139e8db199d8347e0e7b81ffd
parent6764334dfa73d67cbbb1b1fc8fe00440aad00f2a
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
lib/Sema/Sema.h
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
test/Sema/complex-int.c