Fix an infinite loop, caused by unintended syntax bug (the 'break;' after 'default...
commit7333aa16f667c101267fe666ce0ac78f6ca1747a
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 7 Oct 2010 21:52:18 +0000 (7 21:52 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 7 Oct 2010 21:52:18 +0000 (7 21:52 +0000)
tree7793ff6d3149690c06419a15ee9e49400e0a15ef
parent08bd5de9afb2a60e60fbb7530aee5de64e085121
Fix an infinite loop, caused by unintended syntax bug (the 'break;' after 'default:' was intended to break out of the while loop).
Fixes rdar://8518859&8520617.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115985 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/SemaCXX/type-dependent-exprs.cpp