aboutsummaryrefslogtreecommitdiff
path: root/lib/ARCMigrate/Transforms.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-07-27 01:07:15 +0000
committerJohn McCall <rjmccall@apple.com>2011-07-27 01:07:15 +0000
commit990567cb60e8530ba01b41d4e056e32b44b95ec0 (patch)
tree8f85e629bf057a38f2f2cf4f4e744c50a6f1fb1f /lib/ARCMigrate/Transforms.cpp
parentdfb6ae1d8d114772bd91b7079c7e4bf4b517e63c (diff)
Clean up the analysis of the collection operand to ObjC
for-in statements; specifically, make sure to close over any temporaries or cleanups it might require. In ARC, this has implications for the lifetime of the collection, so emit it with a retain and release it upon exit from the loop. rdar://problem/9817306 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate/Transforms.cpp')
0 files changed, 0 insertions, 0 deletions