• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Static analyser less rigorous nowadays?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Static analyser less rigorous nowadays?
      • From: Martin Wierschin <email@hidden>
References: 
 >Static analyser less rigorous nowadays? (From: steven hooley <email@hidden>)
 >Re: Static analyser less rigorous nowadays? (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Re: Static analyser less rigorous nowadays?
  • Next by Date: Re: Does ARC require LLVM 3.0?
  • Previous by thread: Re: Static analyser less rigorous nowadays?
  • Next by thread: Re: Static analyser less rigorous nowadays?
  • Index(es):
    • Date
    • Thread