[cfe-dev] Automatic Reference Counting for Objective-C
Jean-Daniel Dupas
devlists at shadowlab.org
Thu Jun 30 01:04:11 PDT 2011
Le 29 juin 2011 à 20:38, Chris Lattner a écrit :
> On Jun 29, 2011, at 6:43 AM, David Chisnall wrote:
>>> I've documented them in r133385; let me know if the documentation is unclear.
>>
>> That's great, thanks. It was clear enough to implement all of the functions. We now have a working (not optimised) implementation of ARC in GNUstep - I'm looking forward to playing with it.
>
> Great.
>
>> On a semi-related note, I could only find the command-line options for running the ARC migration tool by looking through the source code. Are these supposed to be documented somewhere? And is there a reason they use arr instead of arc in the names, or was that a typo?
>
> 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).
-- Jean-Daniel
More information about the cfe-dev
mailing list