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