r194633 - ObjectiveC ARC. Introduce a new attribute, 'objc_bridge'

jahanian fjahanian at apple.com
Wed Nov 13 17:05:24 PST 2013


On Nov 13, 2013, at 4:49 PM, Jordan Rose <jordan_rose at apple.com> wrote:

> 
> On Nov 13, 2013, at 16:47 , jahanian <fjahanian at apple.com> wrote:
> 
>> 
>> On Nov 13, 2013, at 4:19 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>> 
>>> 
>>> On Nov 13, 2013, at 15:59 , Fariborz Jahanian <fjahanian at apple.com> wrote:
>>> 
>>>> +typedef struct CGColor * __attribute__ ((objc_bridge(NSError))) CGColorRef;
>>> 
>>> It is very confusing to see a bridge attribute that doesn’t actually match actual bridged classes. Can you make the test only include valid bridged classes?
>>> 
>>> https://developer.apple.com/library/mac/documentation/General/Conceptual/CocoaEncyclopedia/Toll-FreeBridgin/Toll-FreeBridgin.html#//apple_ref/doc/uid/TP40010810-CH2
>> In r194640.
>> - Fariborz
> 
> Ha, that wasn’t actually what I meant. I found it confusing that the test says CGColorRef (and CFDictionaryRef, and CFLocaleRef) is toll-free-bridged with NSError.

Per private comm. ObjC class names changed to match the actual toll free matching ObjC types. In r194645.
- Fariborz

> 
> Jordan
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131113/1b73bfbe/attachment.html>


More information about the cfe-commits mailing list