/external/llvm-project/clang/test/Analysis/ |
D | SpecialFunctionsCFError.cpp | 6 typedef struct __CFError *CFErrorRef; typedef 11 Foo(CFErrorRef *error) {} // no-warning in Foo() 13 void operator delete(void *pointer, CFErrorRef *error) { // no-warning in operator delete() 17 void operator delete[](void *pointer, CFErrorRef *error) { // no-warning in operator delete[]() 22 …void operator()(CFErrorRef *error) {} // expected-warning {{Function accepting CFErrorRef* should … in operator ()() 26 void operator delete(void *pointer, CFErrorRef *error) { // no-warning in operator delete()
|
D | CheckNSError.m | 50 typedef struct __CFError* CFErrorRef; typedef 52 void foo(CFErrorRef* error) { // expected-warning {{Function accepting CFErrorRef* should have a no… 56 int f1(CFErrorRef* error) { 61 int f2(CFErrorRef* error) { 66 int f3(CFErrorRef* error) { 71 int __attribute__((nonnull)) f4(CFErrorRef *error) { 76 int __attribute__((nonnull(1))) f5(int *x, CFErrorRef *error) { 81 int __attribute__((nonnull(2))) f6(int *x, CFErrorRef *error) {
|
D | retain-release-arc.m | 20 typedef struct __CFError * CFErrorRef; typedef 24 …allocator, CFDataRef data, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error); 90 CFErrorRef error; 108 CFErrorRef error; 117 CFErrorRef error;
|
D | incorrect-checker-names.mm | 106 typedef struct __CFError* CFErrorRef; typedef 108 void foo(CFErrorRef* error) { // expected-warning{{Function accepting CFErrorRef* should have a non…
|
/external/clang/test/SemaObjCXX/ |
D | objcbridge-static-cast.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef 36 typedef CFErrorRef CFErrorRef1; 70 …(void)static_cast<CFErrorRef>(ns); // expected-error {{cast of Objective-C pointer type 'NSError *… 72 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError… 73 …(void)static_cast<CFErrorRef>(str); // expected-warning {{'NSString' cannot bridge to 'CFErrorRef… 74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError… 76 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError… 81 …(void)static_cast<CFErrorRef>(c); // expected-warning {{'Class' cannot bridge to 'CFErrorRef' (aka… 82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError… 84 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError… [all …]
|
D | objcbridge-attribute.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef 36 typedef CFErrorRef CFErrorRef1; 70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe… 72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE… 74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError… 76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe… 82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError… 84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… [all …]
|
D | objcbridge-attribute-arc.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef 36 typedef CFErrorRef CFErrorRef1; 70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe… 72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE… 74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError… 76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe… 82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError… 84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… [all …]
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | objcbridge-static-cast.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef 36 typedef CFErrorRef CFErrorRef1; 70 …(void)static_cast<CFErrorRef>(ns); // expected-error {{cast of Objective-C pointer type 'NSError *… 72 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError… 73 …(void)static_cast<CFErrorRef>(str); // expected-warning {{'NSString' cannot bridge to 'CFErrorRef… 74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError… 76 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError… 81 …(void)static_cast<CFErrorRef>(c); // expected-warning {{'Class' cannot bridge to 'CFErrorRef' (aka… 82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError… 84 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError… [all …]
|
D | objcbridge-attribute.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef 36 typedef CFErrorRef CFErrorRef1; 70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe… 72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE… 74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError… 76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe… 82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError… 84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… [all …]
|
D | objcbridge-attribute-arc.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef 36 typedef CFErrorRef CFErrorRef1; 70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe… 72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE… 74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError… 76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe… 82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError… 84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… [all …]
|
/external/llvm-project/clang/test/SemaObjC/ |
D | attr-swift-error.m | 11 typedef struct __attribute__((__objc_bridge__(NSError))) __CFError *CFErrorRef; typedef 56 extern BOOL m0(CFErrorRef *) __attribute__((__swift_error__(none))); 57 extern BOOL m1(CFErrorRef *) __attribute__((__swift_error__(nonnull_error))); 58 extern BOOL m2(CFErrorRef *) __attribute__((__swift_error__(null_result))); 60 extern BOOL m3(CFErrorRef *) __attribute__((__swift_error__(nonzero_result))); 61 extern BOOL m4(CFErrorRef *) __attribute__((__swift_error__(zero_result))); 63 extern Undeclared n0(CFErrorRef *) __attribute__((__swift_error__(none))); 65 extern Undeclared n1(CFErrorRef *) __attribute__((__swift_error__(nonnull_error))); 67 extern Undeclared n2(CFErrorRef *) __attribute__((__swift_error__(null_result))); 69 extern Undeclared n3(CFErrorRef *) __attribute__((__swift_error__(nonzero_result))); [all …]
|
D | objcbridge-attribute-arc.m | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef 51 typedef CFErrorRef CFErrorRef1; 85 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe… 87 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 88 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc… 89 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'struct __… 91 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 96 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe… 97 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct __… 99 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… [all …]
|
D | objcbridge-attribute.m | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef 54 typedef CFErrorRef CFErrorRef1; 78 (void)(CFErrorRef)ns; // okay 79 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc… 81 (void)(CFErrorRef)c; // expected-warning {{'Class' cannot bridge to 'CFErrorRef'}} 85 void Test3(CFErrorRef cf, NSError *ns) { 88 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges… 100 (void)(CFErrorRef)ID; // ok 101 (void)(CFErrorRef)P123; // ok 102 (void)(CFErrorRef)P1234; // ok [all …]
|
/external/clang/test/SemaObjC/ |
D | objcbridge-attribute-arc.m | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef 54 typedef CFErrorRef CFErrorRef1; 88 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe… 90 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 91 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc… 92 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'struct __… 94 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… 99 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe… 100 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct __… 102 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka… [all …]
|
D | objcbridge-attribute.m | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef 54 typedef CFErrorRef CFErrorRef1; 78 (void)(CFErrorRef)ns; // okay 79 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc… 81 (void)(CFErrorRef)c; // expected-warning {{'Class' cannot bridge to 'CFErrorRef'}} 85 void Test3(CFErrorRef cf, NSError *ns) { 88 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges… 100 (void)(CFErrorRef)ID; // ok 101 (void)(CFErrorRef)P123; // ok 102 (void)(CFErrorRef)P1234; // ok [all …]
|
/external/clang/test/Analysis/ |
D | CheckNSError.m | 35 typedef struct __CFError* CFErrorRef; typedef 37 void foo(CFErrorRef* error) { // expected-warning {{Function accepting CFErrorRef* should have a no… 41 int f1(CFErrorRef* error) { 46 int f2(CFErrorRef* error) { 51 int f3(CFErrorRef* error) {
|
/external/llvm-project/clang/test/SemaObjCXX/Inputs/ |
D | nullability-completeness-cferror.h | 6 typedef struct __attribute__((objc_bridge_mutable(NSError))) __CFError * CFErrorRef; typedef 8 typedef struct __attribute__((objc_bridge(NSError))) __CFError * CFErrorRef; typedef 11 void func1(CFErrorRef *error);
|
D | nullability-pragmas-1.h | 15 typedef struct __attribute__((objc_bridge(NSError))) __CFError *CFErrorRef; typedef 18 typedef CFErrorRef *CFErrorRefPtr; 42 void f17(CFErrorRef *error); // expected-note{{no known conversion from 'A * _Nonnull' to 'CFErrorR…
|
/external/clang/test/Sema/ |
D | variadic-incomplete-arg-type.c | 4 typedef struct __CFError * CFErrorRef; // expected-note {{forward declaration of 'struct __CFError'… typedef 10 CFErrorRef error; in main()
|
/external/llvm-project/clang/test/Sema/ |
D | variadic-incomplete-arg-type.c | 4 typedef struct __CFError * CFErrorRef; // expected-note {{forward declaration of 'struct __CFError'… typedef 10 CFErrorRef error; in main()
|
/external/clang/test/SemaObjCXX/Inputs/ |
D | nullability-pragmas-1.h | 13 typedef struct __attribute__((objc_bridge(NSError))) __CFError *CFErrorRef; typedef 16 typedef CFErrorRef *CFErrorRefPtr; 40 void f17(CFErrorRef *error); // expected-note{{no known conversion from 'A * _Nonnull' to 'CFErrorR…
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | error_cfstream.cc | 36 CFErrorRef error = static_cast<CFErrorRef>(arg); in grpc_error_create_from_cferror()
|
D | cfstream_handle.cc | 66 CFErrorRef stream_error; in ReadCallback() 101 CFErrorRef stream_error; in WriteCallback()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | error_cfstream.cc | 33 CFErrorRef error = static_cast<CFErrorRef>(arg); in grpc_error_create_from_cferror()
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | os_version_check.c | 46 *CFStringRef, *CFDictionaryRef, *CFTypeRef, *CFErrorRef; typedef 74 CFErrorRef *);
|