Re: Static analyser less rigorous nowadays?
Re: Static analyser less rigorous nowadays?
- Subject: Re: Static analyser less rigorous nowadays?
- From: Chris Suter <email@hidden>
- Date: Tue, 13 Dec 2011 13:02:18 +1100
Hi Martin,
On Tue, Dec 13, 2011 at 12:43 PM, Martin Wierschin <email@hidden> wrote:
> I'm still using Xcode 3.2.6 for this project, and I don't keep tabs on
> clang. Does anyone know, do I bother to report analyzer bugs even in
> non-current versions of Xcode?
It's the same on the latest version of clang, although I wouldn't call
it a bug so much as an enhancement. The reason you don't get a warning
is because you're passing result into the block and the analyser
doesn't look at the block to see what's happening to it within the
block. I imagine it would be quite difficult for it to support that.
It could do what it does with C functions and method calls and assume
that it's retain/release neutral but I suspect that would throw up too
many false positives (and is probably why they haven’t already done
so).
Kind regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden