Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dnullability.cpp25 struct AddNonNull { struct
30 typedef AddNonNull<int *>::type nonnull_int_ptr_1; argument
31 typedef AddNonNull<int * _Nullable>::type nonnull_int_ptr_2; // FIXME: check that it was overridden
32 typedef AddNonNull<nullptr_t>::type nonnull_int_ptr_3; // expected-note{{in instantiation of templa…
34 typedef AddNonNull<int>::type nonnull_non_pointer_1; // expected-note{{in instantiation of template…
39 …typedef _Nonnull AddNonNull<T> invalid1; // expected-error{{nullability specifier '_Nonnull' canno…
42 typedef _Nonnull typename AddNonNull<T>::type okay1;
46 …typedef _Nonnull AddNonNull<T> (*invalid4); // expected-error{{nullability specifier '_Nonnull' ca…
/external/llvm-project/clang/test/SemaCXX/
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…