Lines Matching refs:_Nullable
18 typedef _Nonnull NSFoo * _Nullable conflict_NSFoo_ptr_2; // expected-error{{'_Nonnull' cannot be ap…
20 void testBlocksPrinting(NSFoo * _Nullable (^bp)(int)) {
21 int *ip = bp; // expected-error{{'NSFoo * _Nullable (^)(int)'}}
39 …nnull NSFoo * _Nullable)conflictingMethod1; // expected-error{{nullability specifier 'nonnull' con…
44 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ…
45 …NSFoo * _Nullable conflictingProperty1; // expected-error{{nullability specifier 'null_unspecified…
55 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ…
56 …NSFoo * _Nullable conflictingProperty2; // expected-error{{nullability specifier 'null_unspecified…
124 _Nullable NSMergeReceiver *nullable,
129 ptr = [nullable returnsNullable]; // expected-warning{{'id _Nullable'}}
130 ptr = [nullable returnsNullUnspecified]; // expected-warning{{'id _Nullable'}}
131 ptr = [nullable returnsNonNull]; // expected-warning{{'id _Nullable'}}
132 ptr = [nullable returnsNone]; // expected-warning{{'id _Nullable'}}
134 ptr = [nullable_result returnsNullable]; // expected-warning{{'id _Nullable'}}
135 ptr = [nullable_result returnsNullUnspecified]; // expected-warning{{'id _Nullable'}}
136 ptr = [nullable_result returnsNonNull]; // expected-warning{{'id _Nullable'}}
137 ptr = [nullable_result returnsNone]; // expected-warning{{'id _Nullable'}}
140 ptr = [null_unspecified returnsNullable]; // expected-warning{{'id _Nullable'}}
145 ptr = [nonnull returnsNullable]; // expected-warning{{'id _Nullable'}}
150 ptr = [none returnsNullable]; // expected-warning{{'id _Nullable'}}
168 …cetype _Nullable)initWithBlah2:(nonnull id)blah; // expected-error {{nullability specifier 'nonnul…
169 - (instancetype _Nullable)returnMe2;
174 …le pointer types initializing 'int *' with an expression of type 'InitializableClass * _Nullable'}}
175 …turnMe]; // expected-warning{{incompatible pointer types assigning to 'int *' from 'id _Nullable'}}
176 …ed-warning{{incompatible pointer types assigning to 'int *' from 'InitializableClass * _Nullable'}}
177 …turnMe]; // expected-warning{{incompatible pointer types assigning to 'int *' from 'id _Nullable'}}
179 …ed-warning{{incompatible pointer types assigning to 'int *' from 'InitializableClass * _Nullable'}}
195 …rning{{incompatible pointer types sending 'int *' to parameter of type 'NSResettable * _Nullable'}}
196 …expected-warning{{incompatible pointer types assigning to 'NSResettable * _Nullable' from 'int *'}}
229 ip = foo.a; // expected-warning{{from 'id _Nullable'}}
230 ip = foo.d; // expected-warning{{from 'MultiProp * _Nullable'}}
231 ip = foo.e; // expected-error{{incompatible type 'MultiProp *(^ _Nullable)(int)'}}
236 (void)(^id _Nullable (void) { return 0; });
237 (void)(^ _Nullable id(void) { return 0; });
239 …(^ _Nullable id(void) { return 0; })(); // expected-warning{{incompatible pointer types initializi…
246 NSFoo * _Nullable nullableP;
252 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
255 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
256 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
257 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
258 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
260 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
264 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
267 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
268 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
269 …// expected-warning{{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable…
276 - (void)nested:(void *_Nullable [_Nonnull 2])x;
283 …_Nullable [2])x; // expected-error {{nullability keyword 'nonnull' cannot be applied to multi-leve… argument
303 void testMessageSendResultType(C0 * _Nullable c0) {