[cfe-dev] : Analyzer ignoring the effects of a function call?

Anna Zaks ganna at apple.com
Mon Oct 3 10:24:35 PDT 2011


HI Don,

Filing a Bugzilla report (Product: clang, Component: Static Analyzer) will provide a faster feedback/more transparency. You can mention that you are using Xcode.

Cheers,
Anna.
On Oct 2, 2011, at 10:34 PM, Don Quixote de la Mancha wrote:

> On Sun, Oct 2, 2011 at 9:46 PM, Anna Zaks <ganna at apple.com> wrote:
>> It would be helpful if you could file bugzilla bug reports for the error messages that you find especially obscure.
> 
> Will do.
> 
> The error messages made a lot of sense once I figured them out, so
> they must have made sense to whoever originally implemented them.
> They mostly had to do with the conventions of Objective-C and Cocoa
> Touch memory management.
> 
> I was really flummoxed by the advice that a lot of methods returned
> objects that had retain counts of  zero.  What that really meant was
> that their retain counts were presently one, but at a later time they
> would be autoreleased.  I was not supposed to release them myself.
> 
> These messages were in Xcode 4.0.2 and Xcode 4.1 while I was
> developing an iOS App.  Should I file my bug reports at
> http://bugreport.apple.com/ or in CLangs Bugzilla?
> 
> Don Quixote
> -- 
> Don Quixote de la Mancha
> quixote at dulcineatech.com
> 
>    Custom Software Development for the iPhone and Mac OS X
>    http://www.dulcineatech.com/custom-software-development/




More information about the cfe-dev mailing list