aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.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
commit538482373bba8f268b179eabde85652f630af826 (patch)
tree6ec28341ca229e59b56dde319ce3b726a6d17b1c /clang/lib/CodeGen/CodeGenModule.cpp
parentb23dc0950b61d560b276d25654a4627dbbb666e7 (diff)
downloadllvm-538482373bba8f268b179eabde85652f630af826.zip
llvm-538482373bba8f268b179eabde85652f630af826.tar.gz
llvm-538482373bba8f268b179eabde85652f630af826.tar.bz2
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 llvm-svn: 136204
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions