Home
last modified time | relevance | path

Searched refs:nullptr_t (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/
H A D__stddef_nullptr_t.h21 typedef decltype(nullptr) nullptr_t; typedef
23 using ::std::nullptr_t;
26 typedef typeof(nullptr) nullptr_t; typedef
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dunique_ptr.h170 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
238 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(nullptr_t) _NOEXCEPT {
332 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
350 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr(nullptr_t, _LValRefType<_Dummy> __d…
408 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(nullptr_t) _NOEXCEPT {
441 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void reset(nullptr_t = nullptr) _NOEXCEPT {
505 operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT {
511 inline _LIBCPP_HIDE_FROM_ABI bool operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT {
516 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT {
521 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT {
[all …]
H A Dshared_ptr.h502 _LIBCPP_HIDE_FROM_ABI shared_ptr(nullptr_t __p, _Dp __d) : __ptr_(nullptr) {
507 typedef __shared_ptr_pointer<nullptr_t, _Dp, _AllocT> _CntrlBlk;
522 _LIBCPP_HIDE_FROM_ABI shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a) : __ptr_(nullptr) {
526 typedef __shared_ptr_pointer<nullptr_t, _Dp, _Alloc> _CntrlBlk;
1149 inline _LIBCPP_HIDE_FROM_ABI bool operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT {
1156 inline _LIBCPP_HIDE_FROM_ABI bool operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT {
1161 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT {
1171 inline _LIBCPP_HIDE_FROM_ABI bool operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT {
1176 inline _LIBCPP_HIDE_FROM_ABI bool operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT {
1181 inline _LIBCPP_HIDE_FROM_ABI bool operator>(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT {
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__coroutine/
H A Dcoroutine_handle.h38 _LIBCPP_HIDE_FROM_ABI constexpr coroutine_handle(nullptr_t) noexcept {}
40 _LIBCPP_HIDE_FROM_ABI coroutine_handle& operator=(nullptr_t) noexcept {
100 _LIBCPP_HIDE_FROM_ABI constexpr coroutine_handle(nullptr_t) noexcept {}
110 _LIBCPP_HIDE_FROM_ABI coroutine_handle& operator=(nullptr_t) noexcept {
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dmemory439 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
484 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
493 constexpr unique_ptr& operator=(nullptr_t) noexcept; // constexpr since C++23
505 constexpr void reset(nullptr_t) noexcept; // constexpr since C++23
542 constexpr bool operator<(const unique_ptr<T, D>& x, nullptr_t); // constexpr since C++23
544 constexpr bool operator<(nullptr_t, const unique_ptr<T, D>& y); // constexpr since C++23
597 template <class D> shared_ptr(nullptr_t p, D d);
598 template <class D, class A> shared_ptr(nullptr_t p, D d, A a);
607 shared_ptr(nullptr_t) : shared_ptr() { }
660 bool operator==(const shared_ptr<T>& x, nullptr_t) noexcept;
[all …]
H A Dstddef.h41 typedef decltype(nullptr) nullptr_t; typedef
H A Dfunctional404 function(nullptr_t) noexcept;
412 function(allocator_arg_t, const Alloc&, nullptr_t) noexcept; // removed in C++17
422 function& operator=(nullptr_t) noexcept;
456 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
459 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept; // removed in C++20
462 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept; // removed in C++20
465 bool operator!=(nullptr_t, const function<R(ArgTypes...)>&) noexcept; // removed in C++20
495 template <> struct hash<nullptr_t>; // C++17
H A Dcstddef29 nullptr_t
59 using ::nullptr_t;
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory28 constexpr observer_ptr(nullptr_t) noexcept;
79 _LIBCPP_HIDE_FROM_ABI constexpr observer_ptr(nullptr_t) noexcept : __ptr_(nullptr) {}
134 _LIBCPP_HIDE_FROM_ABI bool operator==(observer_ptr<_Wp> __p, nullptr_t) {
139 _LIBCPP_HIDE_FROM_ABI bool operator==(nullptr_t, observer_ptr<_Wp> __p) {
144 _LIBCPP_HIDE_FROM_ABI bool operator!=(observer_ptr<_Wp> __p, nullptr_t) {
149 _LIBCPP_HIDE_FROM_ABI bool operator!=(nullptr_t, observer_ptr<_Wp> __p) {
H A Dpropagate_const26 template <class T> constexpr bool operator==(const propagate_const<T>& pt, nullptr_t);
27 template <class T> constexpr bool operator==(nullptr_t, const propagate_const<T>& pu);
28 template <class T> constexpr bool operator!=(const propagate_const<T>& pt, nullptr_t);
29 template <class T> constexpr bool operator!=(nullptr_t, const propagate_const<T>& pu);
278 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool operator==(const propagate_const<_Tp>& __pt, nullptr_t
283 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool operator==(nullptr_t, const propagate_const<_Tp>& __pt…
288 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool operator!=(const propagate_const<_Tp>& __pt, nullptr_t
293 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool operator!=(nullptr_t, const propagate_const<_Tp>& __pt…
/freebsd-14.2/contrib/llvm-project/libcxx/include/__exception/
H A Dexception_ptr.h64 _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} in exception_ptr() argument
126 exception_ptr(nullptr_t) _NOEXCEPT;
129 exception_ptr& operator=(nullptr_t) _NOEXCEPT;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h272 bool operator==(std::nullptr_t, const IntrusiveRefCntPtr<T> &B) {
277 bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
282 bool operator!=(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) {
287 bool operator!=(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
H A DLazyAtomicPointer.h142 LazyAtomicPointer(std::nullptr_t) : Storage(0) {} in LazyAtomicPointer() argument
147 LazyAtomicPointer &operator=(std::nullptr_t) {
H A DSTLFunctionalExtras.h51 function_ref(std::nullptr_t) {} in function_ref() argument
H A DPointerUnion.h137 PointerUnion(std::nullptr_t) : PointerUnion() {}
185 const PointerUnion &operator=(std::nullptr_t) {
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DInstrumentation.h51 inline void stringify_append<std::nullptr_t>(llvm::raw_string_ostream &ss,
52 const std::nullptr_t &t) {
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DStringPrinter.h39 void SetPrefixToken(std::nullptr_t) { m_prefix_token.clear(); } in SetPrefixToken() argument
45 void SetSuffixToken(std::nullptr_t) { m_suffix_token.clear(); } in SetSuffixToken() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DAddress.h35 Address(std::nullptr_t) : ElementType(nullptr) {} in Address() argument
121 ConstantAddress(std::nullptr_t) : Address(nullptr) {} in ConstantAddress() argument
/freebsd-14.2/contrib/llvm-project/libcxx/src/support/runtime/
H A Dexception_pointer_msvc.ipp27 exception_ptr::exception_ptr(nullptr_t) noexcept { __ExceptionPtrCreate(this); }
35 exception_ptr& exception_ptr::operator=(nullptr_t) noexcept {
/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dfunction.h415 _LIBCPP_HIDE_FROM_ABI __value_func& operator=(nullptr_t) {
704 _LIBCPP_HIDE_FROM_ABI __policy_func& operator=(nullptr_t) {
848 _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDE_FROM_ABI function(nullptr_t) _NOEXCEPT {}
858 _LIBCPP_HIDE_FROM_ABI function(allocator_arg_t, const _Alloc&, nullptr_t) _NOEXCEPT {}
869 _LIBCPP_HIDE_FROM_ABI function& operator=(nullptr_t) _NOEXCEPT;
959 function<_Rp(_ArgTypes...)>& function<_Rp(_ArgTypes...)>::operator=(nullptr_t) _NOEXCEPT {
1006 inline _LIBCPP_HIDE_FROM_ABI bool operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NO…
1013 inline _LIBCPP_HIDE_FROM_ABI bool operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NO…
1018 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NO…
1023 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NO…
/freebsd-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_null_pointer.h26 struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
H A Dis_scalar.h58 struct _LIBCPP_TEMPLATE_VIS is_scalar<nullptr_t> : public true_type {};
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstddef.inc12 using ::nullptr_t;
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dcstddef.inc12 using std::nullptr_t;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_pointer.h63 struct _LIBCPP_TEMPLATE_VIS formatter<nullptr_t, _CharT> : public __formatter_pointer<_CharT> {};

123