r188493 - ObjectiveC migrator. Start annotating CF functions

jahanian fjahanian at apple.com
Thu Aug 15 15:30:02 PDT 2013


On Aug 15, 2013, at 2:57 PM, Jordan Rose <jordan_rose at apple.com> wrote:

> 
> On Aug 15, 2013, at 14:44 , Fariborz Jahanian <fjahanian at apple.com> wrote:
> 
>> +CF_RETURNS_RETAINED CFDictionaryRef CreateDict() CF_RETURNS_RETAINED;
> 
> This is certainly not correct! What went wrong here?

I check that functions are not previously annotated. My test was defining above macros to be empty.
So, I fixed the test in r188497.
- Fariborz

> 
> This also isn't correct in the long run, since we'd rather suggest audited transfer pragmas if a whole file has the correct retain-count semantics, but I'm sure you've already got that planned.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130815/3ce4cc98/attachment.html>


More information about the cfe-commits mailing list