/external/clang/test/SemaObjC/ |
D | arc-cf.m | 9 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…
|
D | arc-dict-bridged-cast.m | 25 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("
|
D | arc-unbridged-cast.m | 6 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}}
|
D | arc-objc-lifetime.m | 8 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…
|
D | arc-bridged-cast.m | 6 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("
|
D | arc-type-conversion.m | 5 id CFBridgingRelease(CFTypeRef); function 22 … // expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'void *' into ARC}}
|
D | arc.m | 6 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/ |
D | arc-unbridged-cast.mm | 6 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}}
|
D | arc-objc-lifetime.mm | 7 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/ |
D | no-canceling-bridge-to-bridge-cast.m | 6 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…
|
D | nonobjc-to-objc-cast.m.result | 38 …NSString *_uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uui… 39 _uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uuid)); 40 _uuidString = CFBridgingRelease(CFRetain(_uuid));
|
D | nonobjc-to-objc-cast-2.m | 9 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…
|
D | GC-no-arc-runtime.m.result | 12 id x = CFBridgingRelease(cft); 65 id x = CFBridgingRelease(cft);
|
D | Common.h | 91 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() function 101 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() function
|
D | GC.m.result | 12 id x = CFBridgingRelease(cft); 72 id x = CFBridgingRelease(cft);
|
D | GC-no-finalize-removal.m.result | 12 id x = CFBridgingRelease(cft); 85 id x = CFBridgingRelease(cft);
|
D | checking-in-arc.m | 12 id CFBridgingRelease(CFTypeRef); function
|
D | autoreleases.m.result | 38 _prop = (id)CFBridgingRelease(CFRetain(newVal));
|
D | checking.m | 12 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/ |
D | DiagnosticSemaKinds.td | 4067 "use %select{__bridge_transfer|CFBridgingRelease call}1 to transfer "
|