Lines Matching refs:cf
49 id Test1(CFTestingRef cf) {
50 …return (NSString *)cf; // expected-error {{CF object of type 'CFTestingRef' (aka 'struct __CFError…
72 void Test2(CFErrorRef2 cf, NSError *ns, NSString *str, Class c, CFUColor2Ref cf2) {
73 …(void)(NSString *)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to…
74 (void)(NSError *)cf; // okay
75 …(void)(MyError*)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to N…
79 …(void)(Class)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to NSEr…
84 void Test3(CFErrorRef cf, NSError *ns) {
85 (void)(id)cf; // okay
86 (void)(id<P1, P2>)cf; // okay
87 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges…
90 void Test4(CFMyErrorRef cf) {
91 (void)(id)cf; // okay
92 (void)(id<P1, P2>)cf; // ok
93 (void)(id<P1, P2, P3>)cf; // ok
94 (void)(id<P2, P3>)cf; // ok
95 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka 'struct __CFMyErrorRef *') bri…
128 void Test8(CFMyPersonalErrorRef cf) {
129 (void)(id)cf; // ok
130 (void)(id<P1>)cf; // ok
131 (void)(id<P1, P2>)cf; // ok
132 (void)(id<P1, P2, P3>)cf; // ok
133 (void)(id<P1, P2, P3, P4>)cf; // ok
134 …(void)(id<P1, P2, P3, P4, P5>)cf; // expected-warning {{'CFMyPersonalErrorRef' (aka 'struct __CFMy…
150 void Test10(CFFontRef cf) {
151 (void)(__bridge NSObject *)cf;