diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-21 03:00:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-21 03:00:26 +0000 |
commit | 0fa152e72bb71c4aa184d0edd91caa9cbebbf70e (patch) | |
tree | a774a9e87aca6a6a396beace6f73a7c6946302f5 /CodeGen/CodeGenFunction.h | |
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
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions