Home
last modified time | relevance | path

Searched refs:AddNonNull (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dnullability.cpp27 struct AddNonNull { struct
32 typedef AddNonNull<int *>::type nonnull_int_ptr_1; argument
33 typedef AddNonNull<int * _Nullable>::type nonnull_int_ptr_2; // FIXME: check that it was overridden
34 typedef AddNonNull<nullptr_t>::type nonnull_int_ptr_3; // expected-note{{in instantiation of templa…
36 typedef AddNonNull<int>::type nonnull_non_pointer_1; // expected-note{{in instantiation of template…
41 …typedef _Nonnull AddNonNull<T> invalid1; // expected-error{{nullability specifier '_Nonnull' canno…
44 typedef _Nonnull typename AddNonNull<T>::type okay1;
48 …typedef _Nonnull AddNonNull<T> (*invalid4); // expected-error{{nullability specifier '_Nonnull' ca…