Re: Pass-by value… warning
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