• 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: Pass-by value… warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pass-by value… warning


  • Subject: Re: Pass-by value… warning
  • From: vincent habchi <email@hidden>
  • Date: Wed, 7 Jul 2010 09:28:06 +0200

Le 7 juil. 2010 à 09:23, vincent habchi a écrit :

> That's true, the compiler cannot guarantee that dim > 1, which is always the case actually.
> I am going to put an extra text at the beginning of the method, like: "if (dim < 1) return;" and see what happens.

The warning goes away when I do that. Nice! Finally, I think it's not a bug, but rather a great feature. I am surprised by the degree of wisdom the LLVM team put into this analyzer. It's really a great tool.

Vincent_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: Pass-by value… warning (From: Greg Guerin <email@hidden>)
 >Re: Pass-by value… warning (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: Pass-by value… warning
  • Next by Date: Re: Pass-by value… warning (was: NSTextField fieldeditor subclass example? (and an unrelated other inquiry))
  • Previous by thread: Re: Pass-by value… warning
  • Next by thread: Re: Pass-by value… warning
  • Index(es):
    • Date
    • Thread