[PATCH] ARC + collection literal fix

Jesse Rusak me at jesserusak.com
Sat Mar 30 08:59:32 PDT 2013


Hi John,

I've put together a tiny patch which fixes a potential early release in collection literals under ARC, based on our conversation from cfe-dev: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-March/028527.html

The patch uses the machinery you added for the @clang.arc.use call, and adds some checks for the presence of that call in the existing Objective-C literal tests. 

Please let me know if there's anything here that needs adjustment.

Thanks,
Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arc-literals.patch
Type: application/octet-stream
Size: 5153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130330/2e19b684/attachment.obj>


More information about the cfe-commits mailing list