/external/clang/test/CodeGenCXX/ |
nullptr.cpp | 12 typedef decltype(nullptr) nullptr_t; typedef 14 nullptr_t get_nullptr(); 23 return typeid(nullptr_t);
|
debug-info-nullptr.cpp | 7 // CHECK: !13 = metadata !{i32 {{.*}}, null, metadata !"nullptr_t", null, i32 0, i64 0, i64 0, i64 0, i32 0, i32 0} ; [ DW_TAG_unspecified_type ]
|
rtti-fundamental.cpp | 22 // std::nullptr_t
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 4 typedef decltype(nullptr) nullptr_t; typedef in namespace:std 11 constexpr std::nullptr_t get_nullptr() { return nullptr; } 13 constexpr std::nullptr_t np = nullptr; 15 std::nullptr_t nonconst_np; // expected-note{{declared here}} 23 IP<nonconst_np> ip5; // expected-error{{non-type template argument of type 'std::nullptr_t' (aka 'nullptr_t') is not a constant expression}} \ 51 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}} 58 NP<0> np4; // expected-error{{null non-type template argument must be cast to template parameter type 'std::nullptr_t' (aka 'nullptr_t')}} 60 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...] |
p5.cpp | 21 // std::nullptr_t, the null pointer conversion (4.10) is applied. 136 // template-argument is of type std::nullptr_t, the null pointer 170 // if the template-argument is of type std::nullptr_t, the null member 192 // is of type std::nullptr_t, the null member pointer conversion (4.11)
|
/external/webkit/Source/JavaScriptCore/wtf/ |
NullPtr.h | 31 // nullptr_t type and nullptr object. They are defined in the same namespaces they 45 class nullptr_t { }; class in namespace:std 48 extern std::nullptr_t nullptr;
|
NullPtr.cpp | 33 std::nullptr_t nullptr;
|
PassOwnArrayPtr.h | 47 PassOwnArrayPtr(std::nullptr_t) : m_ptr(0) { } 78 PassOwnArrayPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
OwnArrayPtr.h | 74 OwnArrayPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
OwnPtr.h | 75 OwnPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
PassOwnPtr.h | 76 PassOwnPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
RefPtr.h | 79 RefPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
RetainPtr.h | 94 RetainPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
/external/clang/test/SemaCXX/ |
nullptr.cpp | 4 typedef decltype(nullptr) nullptr_t; typedef 13 nullptr_t f(nullptr_t null) 59 nullptr_t *pn = &null; 112 static_assert(__is_scalar(nullptr_t), ""); 113 static_assert(__is_pod(nullptr_t), ""); 114 static_assert(sizeof(nullptr_t) == sizeof(void*), ""); 146 operator nullptr_t() const; 160 template<typename T, nullptr_t Value>
|
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 8 struct nullptr_t; 9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}}
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
unique_ptr.h | 136 constexpr unique_ptr(nullptr_t) 194 operator=(nullptr_t) 298 constexpr unique_ptr(nullptr_t) 334 operator=(nullptr_t) 382 reset(nullptr_t) 440 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 445 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __y) 457 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 462 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __y)
|
shared_ptr_base.h | 312 _Sp_counted_ptr<nullptr_t, _S_single>::_M_dispose() { } 316 _Sp_counted_ptr<nullptr_t, _S_mutex>::_M_dispose() { } 320 _Sp_counted_ptr<nullptr_t, _S_atomic>::_M_dispose() { } 788 __shared_ptr(nullptr_t __p, _Deleter __d) 793 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 864 constexpr __shared_ptr(nullptr_t) 1060 operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) 1065 operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __b) 1076 operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) 1081 operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __b [all...] |
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 266 constexpr shared_ptr(nullptr_t __p) 333 operator==(const shared_ptr<_Tp>& __a, nullptr_t) 338 operator==(nullptr_t, const shared_ptr<_Tp>& __b) 348 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) 353 operator!=(nullptr_t, const shared_ptr<_Tp>& __b)
|
exception_ptr.h | 93 exception_ptr(nullptr_t) throw()
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
unique_ptr.h | 136 constexpr unique_ptr(nullptr_t) 194 operator=(nullptr_t) 298 constexpr unique_ptr(nullptr_t) 334 operator=(nullptr_t) 382 reset(nullptr_t) 440 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 445 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __y) 457 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 462 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __y)
|
shared_ptr_base.h | 312 _Sp_counted_ptr<nullptr_t, _S_single>::_M_dispose() { } 316 _Sp_counted_ptr<nullptr_t, _S_mutex>::_M_dispose() { } 320 _Sp_counted_ptr<nullptr_t, _S_atomic>::_M_dispose() { } 788 __shared_ptr(nullptr_t __p, _Deleter __d) 793 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 864 constexpr __shared_ptr(nullptr_t) 1060 operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) 1065 operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __b) 1076 operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) 1081 operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __b [all...] |
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 266 constexpr shared_ptr(nullptr_t __p) 333 operator==(const shared_ptr<_Tp>& __a, nullptr_t) 338 operator==(nullptr_t, const shared_ptr<_Tp>& __b) 348 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) 353 operator!=(nullptr_t, const shared_ptr<_Tp>& __b)
|
exception_ptr.h | 93 exception_ptr(nullptr_t) throw()
|
/external/clang/test/CXX/expr/expr.const/ |
p3-0x.cpp | 87 False = nullptr // expected-error {{conversion from 'nullptr_t' to 'bool' is not allowed in a converted constant expression}}
|
/external/clang/test/Index/ |
complete-exprs.cpp | 52 // CHECK-CC1: NotImplemented:{ResultType std::nullptr_t}{TypedText nullptr} (40)
|