Lines Matching refs:CFStringRef
5 typedef const struct __CFString * CFStringRef; typedef
11 CFStringRef sref_member;
15 CFStringRef sref;
30 …return sref; // expected-error {{implicit conversion of C pointer type 'CFStringRef' (aka 'const s…
32 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
37 CFStringRef cfstr;
38 …NSString *str = (NSString *)cfstr; // expected-error {{cast of C pointer type 'CFStringRef' (aka '…
40 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
45 CFStringRef ref;
46 …ref = [(CFStringRef)[s string] retain]; // expected-error {{cast of Objective-C pointer type 'id' …
47 // expected-error {{bad receiver type 'CFStringRef' (aka 'const struct __CFString *')}} \
49 …te{{use CFBridgingRetain call to make an ARC object available as a +1 'CFStringRef' (aka 'const st…
52 CFStringRef f3() {
53 …return (CFStringRef)[[[NSString alloc] init] autorelease]; // expected-error {{it is not safe to c…
61 …NSLog(@"%@", (CFStringRef)s); // expected-error {{cast of Objective-C pointer type 'NSString *' to…
63 …te{{use CFBridgingRetain call to make an ARC object available as a +1 'CFStringRef' (aka 'const st…