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

jahanian fjahanian at apple.com
Wed Nov 13 16:21:11 PST 2013


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

Sure. Thanks for the doc. pointer.
- Fariborz

> 
> Jordan

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


More information about the cfe-commits mailing list