Searched refs:nullptr_t (Results 1 - 19 of 19) 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.cpp10 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 DNullPtr.cpp32 std::nullptr_t nullptr;
H A DNullPtr.h31 // 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 DHashTraits.h131 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 DOwnPtr.h51 OwnPtr(std::nullptr_t) : m_ptr(0) { }
82 OwnPtr& operator=(std::nullptr_t) { clear(); return *this; }
H A DOwnArrayPtr.h70 OwnArrayPtr& operator=(std::nullptr_t) { clear(); return *this; }
H A DPassOwnArrayPtr.h46 PassOwnArrayPtr(std::nullptr_t) : m_ptr(0) { }
H A DPassOwnPtr.h49 PassOwnPtr(std::nullptr_t) : m_ptr(0) { }
H A DRefPtr.h70 RefPtr& operator=(std::nullptr_t) { clear(); return *this; }
H A DRetainPtr.h115 RetainPtr& operator=(std::nullptr_t) { clear(); return *this; }
/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/Lexer/
H A Dcxx0x_keyword_as_cxx98.cpp8 struct nullptr_t;
9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}}
/external/clang/test/SemaCXX/
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...]
/external/clang/lib/Headers/
H A Dstddef.h82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std
83 using ::std::nullptr_t;
/external/clang/lib/include/
H A Dstddef.h82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std
83 using ::std::nullptr_t;
/external/clang/test/Analysis/
H A Dnullptr.cpp85 typedef decltype(nullptr) nullptr_t; typedef
88 const nullptr_t &r = nullptr;
/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/CXX/drs/
H A Ddr1xx.cpp295 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.

Completed in 450 milliseconds