commit | 0fa152e72bb71c4aa184d0edd91caa9cbebbf70e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jul 21 03:00:26 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jul 21 03:00:26 2007 +0000 |
tree | a774a9e87aca6a6a396beace6f73a7c6946302f5 | |
parent | 942cfd37297528918616d06cd6e4e8bd6e4915a2 [diff] |
Two fixes: 1) fix a crash on test/Sema/default.c by making sure that the switch scope is non-null. 2) if there is an error sema'ing a default or case stmt, make sure to return the substmt up, so that the error recovery code has more acurate info to continue with. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40134 91177308-0d34-0410-b5e6-96231b3b80d8