Home
last modified time | relevance | path

Searched refs:CFBridgingRelease (Results 1 – 20 of 20) sorted by relevance

/external/clang/test/SemaObjC/
Darc-cf.m9 id CFBridgingRelease(CFTypeRef); function
18 …st}} expected-note {{__bridge to convert directly}} expected-note {{CFBridgingRelease call to tran…
19 …g0(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
27 …g1(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
45 …g3(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
46 …g3(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
Darc-dict-bridged-cast.m25 id CFBridgingRelease(CFTypeRef __attribute__((cf_consumed)) X); function
34 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'co…
37 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFMutableStringRef' (…
43 // CHECK: fix-it:"{{.*}}":{31:18-31:18}:"CFBridgingRelease("
45 // CHECK: fix-it:"{{.*}}":{35:25-35:25}:"CFBridgingRelease("
Darc-unbridged-cast.m6 id CFBridgingRelease(CFTypeRef); function
42 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
43 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
44 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
45 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
47 …ng(); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
48 …) 0); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
49 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
50 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
Darc-objc-lifetime.m8 NSString *CFBridgingRelease(); function
20 …(__bridge CFStringRef) (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit owne…
23 …(__bridge CFStringRef) (__autoreleasing PNSString) CFBridgingRelease(); // expected-error {{explic…
25 (__bridge CFStringRef) (AUTORELEASEPNSString) CFBridgingRelease(); // OK
27 …(__bridge CFStringRef) (typeof(__strong NSString *)) CFBridgingRelease(); // expected-error {{expl…
Darc-bridged-cast.m6 id CFBridgingRelease(CFTypeRef); function
41 …e to convert directly (no change in ownership)}} expected-note{{use CFBridgingRelease call to tran…
42 // CHECK: fix-it:"{{.*}}":{40:17-40:17}:"CFBridgingRelease("
Darc-type-conversion.m5 id CFBridgingRelease(CFTypeRef); function
22 … // expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'void *' into ARC}}
Darc.m6 id CFBridgingRelease(CFTypeRef); function
286 …quires a bridged cast}} expected-note {{use __bridge}} expected-note {{use CFBridgingRelease call}}
426 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into …
429 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into …
/external/clang/test/SemaObjCXX/
Darc-unbridged-cast.mm6 extern "C" id CFBridgingRelease(CFTypeRef);
42 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
43 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
44 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
45 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
47 …ng(); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
48 …) 0); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
49 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
50 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
Darc-objc-lifetime.mm7 NSString *CFBridgingRelease(); function
19 …(__bridge CFStringRef) (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit owne…
22 …(__bridge CFStringRef) (__autoreleasing PNSString) CFBridgingRelease(); // expected-error {{explic…
24 (__bridge CFStringRef) (AUTORELEASEPNSString) CFBridgingRelease(); // OK
26 …(__bridge CFStringRef) (typeof(__strong NSString *)) CFBridgingRelease(); // expected-error {{expl…
/external/clang/test/ARCMT/
Dno-canceling-bridge-to-bridge-cast.m6 id CFBridgingRelease(CFTypeRef); function
28 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
32 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
36 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
Dnonobjc-to-objc-cast.m.result38 …NSString *_uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uui…
39 _uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uuid));
40 _uuidString = CFBridgingRelease(CFRetain(_uuid));
Dnonobjc-to-objc-cast-2.m9 id CFBridgingRelease(CFTypeRef); function
33 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
41 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
DGC-no-arc-runtime.m.result12 id x = CFBridgingRelease(cft);
65 id x = CFBridgingRelease(cft);
DCommon.h91 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() function
101 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() function
DGC.m.result12 id x = CFBridgingRelease(cft);
72 id x = CFBridgingRelease(cft);
DGC-no-finalize-removal.m.result12 id x = CFBridgingRelease(cft);
85 id x = CFBridgingRelease(cft);
Dchecking-in-arc.m12 id CFBridgingRelease(CFTypeRef); function
Dautoreleases.m.result38 _prop = (id)CFBridgingRelease(CFRetain(newVal));
Dchecking.m12 id CFBridgingRelease(CFTypeRef); function
105 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'co…
163 …// expected-note 2 {{use __bridge to}} expected-note {{use CFBridgingRelease call}} expected-note …
/external/clang/include/clang/Basic/
DDiagnosticSemaKinds.td4067 "use %select{__bridge_transfer|CFBridgingRelease call}1 to transfer "