Lines Matching refs:CFErrorRef

4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5…  typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE…
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
88 void Test3(CFErrorRef cf, NSError *ns) {
89 …(void)(id)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Ob…
91 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef' (aka '__CFErro…
92 …(void)(id<P1, P2>)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *…
94 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef' (aka '__CFErro…
95 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka '__CFErrorRef *') bridges to NSE…
96 …// expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C poin…
98 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef' (aka '__CFErro…
121 …(void)(CFErrorRef)ID; // expected-error {{cast of Objective-C pointer type 'id' to C pointer type …
123 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
124 …(void)(CFErrorRef)P123; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3>' to C p…
126 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
127 …(void)(CFErrorRef)P1234; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3,P4>' to…
129 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
130 …(void)(CFErrorRef)P12; // expected-error {{cast of Objective-C pointer type 'id<P1,P2>' to C point…
132 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
133 …(void)(CFErrorRef)P23; // expected-error {{cast of Objective-C pointer type 'id<P2,P3>' to C point…
135 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
206 (void)(__bridge CFErrorRef)ns; // okay
207 …(void)(__bridge CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (a…
209 …(void)(__bridge CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to '