[cfe-dev] Automatic Reference Counting for Objective-C

Jean-Daniel Dupas devlists at shadowlab.org
Sun Jul 3 08:58:46 PDT 2011


Le 3 juil. 2011 à 04:43, Chris Lattner a écrit :

> 
> On Jun 30, 2011, at 1:04 AM, Jean-Daniel Dupas wrote:
>>> The migration tool isn't expected to be generally useful outside of Xcode, and the interfaces continue to change and evolve over time.  ARR was an earlier name for the feature before we standardized on ARC.  Expect change in the migrator, don't get too comfortable with it :)
>> 
>> Not only the migrator uses it. The __has_feature tag use to detect if arc is enabled used arr too (it is objc_arr).
> 
> Yes, but it will be removed.  Please use __has_feature(objc_arc) instead.
> 

Yes. I noticed after positing this message that objc_arc was already defined in clang and even documented on the clang web site. 


-- Jean-Daniel








More information about the cfe-dev mailing list