]> granicus.if.org Git - clang/commit
When performing an @throw in ARC, retain + autorelease
authorJohn McCall <rjmccall@apple.com>
Sat, 1 Oct 2011 10:32:24 +0000 (10:32 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 1 Oct 2011 10:32:24 +0000 (10:32 +0000)
commit2b014d6c0c6b8ac94b416ac37dfc7931f20777a7
tree55e9ed4baa751a871fee8bd1bb9ab62abd8d4be4
parentcdda47faab5c2c61c239491a1a091e071ed3e38e
When performing an @throw in ARC, retain + autorelease
the pointer, being sure to do so before running cleanups
associated with that full-expression.  rdar://10042689

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenObjC/arc-with-atthrow.m