]> granicus.if.org Git - clang/commit
When we're flagging a protected scope to prevent jumps into the
authorJohn McCall <rjmccall@apple.com>
Fri, 13 Apr 2012 01:08:17 +0000 (01:08 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 13 Apr 2012 01:08:17 +0000 (01:08 +0000)
commit97b57a2170c2138fb71d336d77c6db7728938108
tree0de78e132b2ac12549766cb55c1161c54fc55931
parent9d4e87e52c1424bad660f7621fb0cf6d6aaad666
When we're flagging a protected scope to prevent jumps into the
shadow of a block expression with non-trivial destructed cleanups,
we should flag that in the enclosing function, not in the block
that we're about to pop.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaCXX/goto.cpp
test/SemaObjC/arc-jump-block.m