[PATCH] [ObjC] New warning: circular containers

jahanian fjahanian at apple.com
Tue Mar 3 11:25:12 PST 2015


On Mar 3, 2015, at 11:02 AM, jahanian <fjahanian at apple.com> wrote:

> Patch looks good with couple of minors.
> Provide a note where receiver/argument has been declared.
> Place CheckObjCCircularContainer(Result) right after checkRetainCycles(Result).

This patch does not address the general case of same expression used as receiver and addObject argument.
Is this something that you care enough to address? Need not be in this patch though.

> 
> - Fariborz
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150303/add76a39/attachment.html>


More information about the cfe-commits mailing list