Searched defs:nullptr_t (Results 1 - 12 of 12) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Dnullptr.cpp12 typedef decltype(nullptr) nullptr_t; typedef
14 nullptr_t get_nullptr();
23 return typeid(nullptr_t);
H A Dmangle-ms-cxx11.cpp73 namespace std { typedef decltype(__nullptr) nullptr_t; } typedef in namespace:std
74 void Null(std::nullptr_t) {}
/external/clang/lib/Headers/
H A Dstddef.h109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std
110 using ::std::nullptr_t;
/external/clang/test/SemaTemplate/
H A Ddeduction-crash.cpp125 typedef decltype(nullptr) nullptr_t; typedef in namespace:PR14281_part2
126 template <class P, nullptr_t> struct A;
128 template <template <class, nullptr_t> class S, class T> struct A<S<T, nullptr>, nullptr> {
131 template <class T, nullptr_t i> struct B {};
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx-std-suppression.h116 typedef decltype(nullptr) nullptr_t; typedef in namespace:std
122 constexpr shared_ptr(nullptr_t);
141 shared_ptr<_Tp>::shared_ptr(nullptr_t) {
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1-11.cpp4 typedef decltype(nullptr) nullptr_t; typedef in namespace:std
13 constexpr std::nullptr_t get_nullptr() { return nullptr; }
15 constexpr std::nullptr_t np = nullptr;
17 std::nullptr_t nonconst_np; // expected-note{{declared here}}
27 IP<nonconst_np> ip5; // expected-error{{non-type template argument of type 'std::nullptr_t' (aka 'nullptr_t') is not a constant expression}} \
58 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}}
65 NP<0> np4; // expected-error{{null non-type template argument must be cast to template parameter type 'std::nullptr_t' (aka 'nullptr_t')}}
67 NP<i> np5; // expected-error{{non-type template argument of type 'const int' cannot be converted to a value of type 'std::nullptr_t'}}
[all...]
/external/clang/test/SemaCXX/
H A Dnullability.cpp8 typedef decltype(nullptr) nullptr_t; typedef
16 typedef nullptr_t _Nonnull nonnull_nullptr_t; // expected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'nullptr_t'}}
27 // expected-error@-1{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'nullptr_t'}}
32 typedef AddNonNull<nullptr_t>::type nonnull_int_ptr_3; // expected-note{{in instantiation of template class}}
H A Dnullptr.cpp4 typedef decltype(nullptr) nullptr_t; typedef
13 nullptr_t f(nullptr_t null)
60 (void)&nullptr; // expected-error {{cannot take the address of an rvalue of type 'nullptr_t'}}
61 nullptr_t *pn = &null;
117 static_assert(__is_scalar(nullptr_t), "");
118 static_assert(__is_pod(nullptr_t), "");
119 static_assert(sizeof(nullptr_t) == sizeof(void*), "");
151 operator nullptr_t() const;
165 template<typename T, nullptr_t Valu
[all...]
H A Dconversion.cpp204 typedef decltype(nullptr) nullptr_t; typedef in namespace:test9
205 nullptr_t EXIT();
H A Dwarn-consumed-analysis.cpp12 typedef decltype(nullptr) nullptr_t; typedef
20 ConsumableClass(nullptr_t p) RETURN_TYPESTATE(consumed);
27 ConsumableClass<T>& operator=(nullptr_t) SET_TYPESTATE(consumed);
42 bool operator!=(nullptr_t) const TEST_TYPESTATE(unconsumed);
43 bool operator==(nullptr_t) const TEST_TYPESTATE(consumed);
/external/clang/test/Analysis/
H A Dnullptr.cpp87 typedef decltype(nullptr) nullptr_t; typedef
90 const nullptr_t &r = nullptr;
/external/flatbuffers/include/flatbuffers/
H A Dflatbuffers.h57 #ifndef nullptr_t
58 const class nullptr_t { class

Completed in 246 milliseconds