On Oct 20, 2011, at 15:38 , Jean-Daniel Dupas wrote: > Le 20 oct. 2011 à 23:38, Bill Cheeseman a écrit : > >> I found this discovery extraordinarily helpful in using Analyze to kill >> memory issues in a couple of frameworks I distribute. The frameworks make >> heavy use of CFTypeRef objects. I would love to hear from anybody at Apple >> who can confirm that this is the way Analyze is meant to work. >> > > If you want to avoid ambiguity, just add a CF_RETURNS_RETAINED annotation > attribute to your method.
And I'll just throw in this reference: http://clang-analyzer.llvm.org/annotations.html which I found to be a good overview of what the analyzer is trying to do, though it doesn't address Bill's question directly. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com