HomeSort by relevance Sort by last modified time
    Searched refs:accepts_nonnull_1 (Results 1 - 2 of 2) sorted by null

  /external/clang/test/Sema/
nullability.c 104 void accepts_nonnull_1(_Nonnull int *ptr);
109 accepts_nonnull_1(0); // expected-warning{{null passed to a callee that requires a non-null argument}}
129 accepts_nonnull_1(ptr); // expected-warning{{implicit conversion from nullable pointer 'int * _Nullable' to non-nullable pointer type 'int * _Nonnull'}}
  /external/clang/test/SemaCXX/
nullability.cpp 50 void (*accepts_nonnull_1)(_Nonnull int *ptr); variable
51 void (*& accepts_nonnull_2)(_Nonnull int *ptr) = accepts_nonnull_1;
57 accepts_nonnull_1(0); // expected-warning{{null passed to a callee that requires a non-null argument}}

Completed in 286 milliseconds