]> granicus.if.org Git - clang/commit
When creating a jump destination, its scope should be the scope of the
authorJohn McCall <rjmccall@apple.com>
Wed, 28 Jul 2010 01:07:35 +0000 (01:07 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 28 Jul 2010 01:07:35 +0000 (01:07 +0000)
commit413e67778d593215d2f2161a4e712c8568f1ddd0
treeb60f39de30d8e7421a919d01fd87d1f7173947c4
parent7bce3a122296eba0e74f401c188e55c71935132f
When creating a jump destination, its scope should be the scope of the
enclosing normal cleanup, not the top of the EH stack.  I'm *really*
surprised this hasn't been causing more problems.

Fixes rdar://problem/8231514.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/eh.cpp