• 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: CLang wrong analysis?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLang wrong analysis?


  • Subject: Re: CLang wrong analysis?
  • From: Jean-Denis Muys <email@hidden>
  • Date: Tue, 29 Mar 2011 07:51:59 +0000
  • Thread-topic: CLang wrong analysis?

On 28 mars 2011, at 22:15, Sean McBride wrote:

> On Mon, 28 Mar 2011 17:05:47 -0300, Bavarious said:
>
>> This is a CSA bug that has already been reported and fixed by the LLVM team:
>>
>> http://llvm.org/bugs/show_bug.cgi?id=9541
>>
>> As described in the bug report, you can define the variable inside the
>> for expression as a workaround for this static analyser bug, or you
>> could wait until Apple release another version of Xcode+Clang including
>> the fix.
>
> Or build a newer version of the analyzer yourself and redirect Xcode to
> use it:
> <http://clang-analyzer.llvm.org/xcode.html>
>
> Assuming those instructions still work for Xcode 4 (anyone tried?), but
> they certainly work for 3.
>
> --

Thanks everybody. Since it's already fixed, I guess I won't create a new bug report.
Building a newer version of Clang is an interesting proposition. I haven't tried it with Xcode 4, so I have no idea whether the published instructions still work.

 _______________________________________________
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

References: 
 >CLang wrong analysis? (From: Jean-Denis Muys <email@hidden>)
 >Re: CLang wrong analysis? (From: Bavarious <email@hidden>)
 >Re: CLang wrong analysis? (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Xcode keeps overwriting syntax-coloring for seven types of elements.
  • Next by Date: Re: XCode see the files, compiling doesn't
  • Previous by thread: Re: CLang wrong analysis?
  • Next by thread: debugging an iOS silent app crash on device
  • Index(es):
    • Date
    • Thread