[PATCH] D49303: [CodeGen][ObjC] Treat non-escaping blocks as global blocks to make copy/dispose a no-op
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 18 16:12:54 PDT 2018
ahatanak planned changes to this revision.
ahatanak added a comment.
In https://reviews.llvm.org/D49303#1165902, @rjmccall wrote:
> Please test that we still copy captures correctly into the block object and destroy them when the block object is destroyed.
There is a bug in my patch where the capture cleanups aren't pushed when doesNotEscape() returns true. I'm working on a fix.
Repository:
rC Clang
https://reviews.llvm.org/D49303
More information about the cfe-commits
mailing list