[PATCH] D32029: [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt
Kuba (Brecka) Mracek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 13 22:51:00 PDT 2017
kubamracek updated this revision to Diff 95271.
kubamracek added a comment.
Trying a different approach: Keeping the loop variable alive for the whole loop by extending ForScope and registering the cleanup function inside EmitAutoVarAlloca.
https://reviews.llvm.org/D32029
Files:
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGObjC.cpp
test/CodeGenObjC/arc-blocks.m
test/CodeGenObjCXX/arc-references.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32029.95271.patch
Type: text/x-patch
Size: 3861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170414/5b23f999/attachment-0001.bin>
More information about the cfe-commits
mailing list