| commit | b0433eeb2e536e21a62030fd2f17d94ad2a1d2f5 | [log] [tgz] |
|---|---|---|
| author | John McCall <rjmccall@apple.com> | Tue Sep 25 06:56:03 2012 +0000 |
| committer | John McCall <rjmccall@apple.com> | Tue Sep 25 06:56:03 2012 +0000 |
| tree | 3b0fba774252c9e3043a44518153aa21b131efcd | |
| parent | 446ff28df1242fcd11ce1df18af9c944afdcbdd3 [diff] |
During jump-scope checking, build an ExprWithCleanups immediately into the enclosing scope; this is a more accurate model but is (I believe) unnecessary in my test case due to other flaws. However, one of those flaws is now intentional: blocks which appear in return statements can be trivially observed to not extend in lifetime past the return, and so we can allow a jump past them. Do the necessary magic in IR-generation to make this work. llvm-svn: 164589