| commit | 3940737edfa5606c2905aead59dffd26f9a896b9 | [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 | 7234663ec6282eb90ffe719696717a0aaf0cb176 | |
| parent | 5e39293e62acedcbad0e8f636bb71001ac1e2643 [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. llvm-svn: 40134