Lines Matching refs:_Nonnull

12 extern void *array[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is …
13 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull "
15 extern void* array2[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array is…
16 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:13-[[@LINE-1]]:13}:" _Nonnull"
18 extern void *nestedArray[2][3]; // expected-warning {{inferring '_Nonnull' for pointer type within …
19 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull "
25 extern PTR(void) array[2]; // expected-warning {{inferring '_Nonnull' for pointer type within array…
30 extern CFTypeRef typedefArray[2]; // expected-warning {{inferring '_Nonnull' for pointer type withi…
31 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:17-[[@LINE-1]]:17}:" _Nonnull"
34 extern void *&ref; // expected-warning {{inferring '_Nonnull' for pointer type within reference is …
35 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:"_Nonnull"
37 extern void * &ref2; // expected-warning {{inferring '_Nonnull' for pointer type within reference i…
38 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull"
40 extern void *&&ref3; // expected-warning {{inferring '_Nonnull' for pointer type within reference i…
41 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:"_Nonnull"
43 extern void * &&ref4; // expected-warning {{inferring '_Nonnull' for pointer type within reference …
44 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull"
46 extern void *(&arrayRef)[2]; // expected-warning {{inferring '_Nonnull' for pointer type within arr…
47 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:"_Nonnull"
49 extern void * (&arrayRef2)[2]; // expected-warning {{inferring '_Nonnull' for pointer type within a…
50 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull"
52 extern CFTypeRef &typedefRef; // expected-warning {{inferring '_Nonnull' for pointer type within re…
53 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:17-[[@LINE-1]]:17}:" _Nonnull"
54 extern CFTypeRef& typedefRef2; // expected-warning {{inferring '_Nonnull' for pointer type within r…
55 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:17-[[@LINE-1]]:17}:" _Nonnull "
58 void arrayNameless(void *[]); // expected-warning {{inferring '_Nonnull' for pointer type within ar…
59 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:26-[[@LINE-1]]:26}:"_Nonnull"
61 void arrayNameless2(void * []); // expected-warning {{inferring '_Nonnull' for pointer type within …
62 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:27-[[@LINE-1]]:27}:" _Nonnull"
64 void arrayNamelessTypedef(CFTypeRef[]); // expected-warning {{inferring '_Nonnull' for pointer type…
65 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:36-[[@LINE-1]]:36}:" _Nonnull "
67 void arrayNamelessTypedef2(CFTypeRef []); // expected-warning {{inferring '_Nonnull' for pointer ty…
68 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:37-[[@LINE-1]]:37}:" _Nonnull"
72 …d-error {{cannot initialize a variable of type 'int' with an lvalue of type 'int (* _Nonnull)[2]'}}