Lines Matching refs:_Nonnull

15 typedef int * _Nonnull nonnull_int_ptr;
20 typedef int * _Nonnull _Nonnull redundant_1; // expected-warning{{duplicate nullability specifier '…
23 typedef int * _Nonnull _Nullable conflicting_1; // expected-error{{nullability specifier '_Nonnull'…
24 typedef int * _Null_unspecified _Nonnull conflicting_2; // expected-error{{nullability specifier '_…
27 typedef nonnull_int_ptr _Nonnull redundant_okay_1;
42 typedef int (* _Nonnull function_pointer_type_1)(int, int);
43 typedef int (^ _Nonnull block_type_1)(int, int);
46 typedef int _Nonnull int_type_1; // expected-error{{nullability specifier '_Nonnull' cannot be appl…
50 typedef _Nonnull int * nonnull_int_ptr_2;
52 typedef _Nonnull int (* function_pointer_type_2)(int, int);
53 typedef _Nonnull int (^ block_type_2)(int, int);
54 typedef _Nonnull int * * _Nullable nonnull_int_ptr_ptr_1;
55 typedef _Nonnull int *(^ block_type_3)(int, int);
56 typedef _Nonnull int *(* function_pointer_type_3)(int, int);
57 typedef _Nonnull int_ptr (^ block_type_4)(int, int);
58 typedef _Nonnull int_ptr (* function_pointer_type_4)(int, int);
59 typedef void (* function_pointer_type_5)(int_ptr _Nonnull);
61 void acceptFunctionPtr(_Nonnull int *(*)(void));
62 void acceptBlockPtr(_Nonnull int *(^)(void));
77 typedef _Nonnull int * _Nullable * conflict_int_ptr_ptr_2; // expected-error{{nullability specifie…
80 typedef int * _Nonnull ambiguous_int_ptr;
89 int * _Nonnull ip_1 = &f; // expected-warning{{incompatible pointer types initializing 'int * _Nonn…
93 int * _Nonnull iptr; in printing_nullability()
96 int * * _Nonnull iptrptr; in printing_nullability()
99 int * _Nullable * _Nonnull iptrptr2; in printing_nullability()
104 void accepts_nonnull_1(_Nonnull int *ptr);
105 void (*accepts_nonnull_2)(_Nonnull int *ptr);
106 void (^accepts_nonnull_3)(_Nonnull int *ptr);
115 _Nonnull int *returns_int_ptr(int x) { in returns_int_ptr()
120 return (_Nonnull int *)0; in returns_int_ptr()
126_Nonnull int *b = ptr; // expected-warning{{implicit conversion from nullable pointer 'int * _Null… in nullable_to_nonnull()