Le 11 mars 2012 à 22:37, Jordan Rose a écrit :

> After I complained about it a few days ago, I figured I'd take a stab at 
> fixing this:
> 
> [@"abc" release]; // should warn!


I'm not sure I agree it should warn. It is a well known fact that 
retain/release are noop on constant string literal and it is used in many place.

IHMO, the static analyzer should continue to ignore String literals as it 
actually does.

-- Jean-Daniel





_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to