/external/clang/test/CodeGenCXX/ |
H A D | nullptr.cpp | 12 typedef decltype(nullptr) nullptr_t; typedef 14 nullptr_t get_nullptr(); 23 return typeid(nullptr_t);
|
H A D | mangle-ms-cxx11.cpp | 10 namespace std { typedef decltype(__nullptr) nullptr_t; } typedef in namespace:std 11 void Null(std::nullptr_t) {}
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | NullPtr.cpp | 32 std::nullptr_t nullptr;
|
H A D | NullPtr.h | 31 // nullptr_t type and nullptr object. They are defined in the same namespaces they 40 // libstdc++ supports nullptr_t starting with gcc 4.6. STLport doesn't define it. 43 typedef decltype(nullptr) nullptr_t; typedef in namespace:std 50 class nullptr_t { }; 52 extern std::nullptr_t nullptr;
|
H A D | HashTraits.h | 131 typedef std::nullptr_t EmptyValueType; 140 static PassOwnPtr<P> passOut(std::nullptr_t) { return nullptr; } 144 static PeekType peek(std::nullptr_t) { return 0; }
|
H A D | OwnPtr.h | 51 OwnPtr(std::nullptr_t) : m_ptr(0) { } 82 OwnPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
H A D | OwnArrayPtr.h | 70 OwnArrayPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
H A D | PassOwnArrayPtr.h | 46 PassOwnArrayPtr(std::nullptr_t) : m_ptr(0) { }
|
H A D | PassOwnPtr.h | 49 PassOwnPtr(std::nullptr_t) : m_ptr(0) { }
|
H A D | RefPtr.h | 70 RefPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
H A D | RetainPtr.h | 115 RetainPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
H A D | p1-11.cpp | 4 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/Lexer/ |
H A D | cxx0x_keyword_as_cxx98.cpp | 8 struct nullptr_t; 9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}}
|
/external/clang/test/SemaCXX/ |
H A D | nullptr.cpp | 4 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...] |
/external/clang/lib/Headers/ |
H A D | stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/external/clang/lib/include/ |
H A D | stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/external/clang/test/Analysis/ |
H A D | nullptr.cpp | 85 typedef decltype(nullptr) nullptr_t; typedef 88 const nullptr_t &r = nullptr;
|
/external/clang/test/SemaTemplate/ |
H A D | deduction-crash.cpp | 125 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/CXX/drs/ |
H A D | dr1xx.cpp | 295 using nullptr_t = decltype(nullptr); 296 virtual void np() throw(nullptr_t*); // expected-error {{more lax}} FIXME: This is valid. 297 virtual void npm() throw(nullptr_t*); // expected-error {{more lax}} FIXME: This is valid. 298 virtual void nr() throw(nullptr_t&); // expected-error {{more lax}} This is not.
|