]> granicus.if.org Git - clang/commit
Re-improve recovery when the condition of a switch statement does not
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 23:25:20 +0000 (23:25 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 23:25:20 +0000 (23:25 +0000)
commitacb0bd85d30ecacbe872ca9d9cfac5d7b6038a43
tree5c3381b3535d06229cc3fd8c6a0bd16aa683ff27
parentc30614b7e2bad089f2509499379de509f33162d6
Re-improve recovery when the condition of a switch statement does not
have integral or enumeration type, so that we still check the contents
of the switch body. My previous patch made this worse; now we're back
to where we were previously.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
test/Sema/complex-int.c