Lines Matching refs:CFErrorRef
4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
54 typedef CFErrorRef CFErrorRef1;
88 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
90 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
91 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc…
92 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'struct __…
94 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
99 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
100 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct __…
102 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
106 void Test3(CFErrorRef cf, NSError *ns) {
107 …(void)(id)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErrorRef *'…
109 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef' (aka 'struct _…
110 …(void)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErr…
112 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef' (aka 'struct _…
113 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges…
114 …// expected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErrorRef *') to Objective…
116 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef' (aka 'struct _…
139 …(void)(CFErrorRef)ID; // expected-error {{cast of Objective-C pointer type 'id' to C pointer type …
141 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
142 …(void)(CFErrorRef)P123; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3>' to C p…
144 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
145 …(void)(CFErrorRef)P1234; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3,P4>' to…
147 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
148 …(void)(CFErrorRef)P12; // expected-error {{cast of Objective-C pointer type 'id<P1,P2>' to C point…
150 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
151 …(void)(CFErrorRef)P23; // expected-error {{cast of Objective-C pointer type 'id<P2,P3>' to C point…
153 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
225 (void)(__bridge CFErrorRef)ns; // okay
226 …(void)(__bridge CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (a…
228 …(void)(__bridge CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to '…