/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dbghelp.h | 27 extern decltype(::StackWalk64) *StackWalk64; 28 extern decltype(::SymCleanup) *SymCleanup; 29 extern decltype(::SymFromAddr) *SymFromAddr; 30 extern decltype(::SymFunctionTableAccess64) *SymFunctionTableAccess64; 31 extern decltype(::SymGetLineFromAddr64) *SymGetLineFromAddr64; 32 extern decltype(::SymGetModuleBase64) *SymGetModuleBase64; 33 extern decltype(::SymGetSearchPathW) *SymGetSearchPathW; 34 extern decltype(::SymInitialize) *SymInitialize; 35 extern decltype(::SymSetOptions) *SymSetOptions; 36 extern decltype(::SymSetSearchPathW) *SymSetSearchPathW; [all …]
|
H A D | sanitizer_win_dll_thunk.h | 93 typedef decltype(name) *fntype; \ 101 typedef decltype(name) *fntype; \ 109 typedef decltype(name) *fntype; \ 117 typedef decltype(name) *fntype; \ 125 typedef decltype(name) *fntype; \ 133 typedef decltype(name) *fntype; \ 141 typedef decltype(name) *fntype; \ 149 typedef decltype(name) *fntype; \ 157 typedef decltype(name) *fntype; \ 166 typedef decltype(name) *fntype; \ [all …]
|
H A D | sanitizer_symbolizer_win.cpp | 22 decltype(::StackWalk64) *StackWalk64; 23 decltype(::SymCleanup) *SymCleanup; 24 decltype(::SymFromAddr) *SymFromAddr; 25 decltype(::SymFunctionTableAccess64) *SymFunctionTableAccess64; 26 decltype(::SymGetLineFromAddr64) *SymGetLineFromAddr64; 27 decltype(::SymGetModuleBase64) *SymGetModuleBase64; 28 decltype(::SymGetSearchPathW) *SymGetSearchPathW; 29 decltype(::SymInitialize) *SymInitialize; 30 decltype(::SymSetOptions) *SymSetOptions; 31 decltype( [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ADL.h | 28 -> decltype(begin(std::forward<RangeT>(range))) { 36 -> decltype(end(std::forward<RangeT>(range))) { 44 -> decltype(rbegin(std::forward<RangeT>(range))) { 52 -> decltype(rend(std::forward<RangeT>(range))) { 69 -> decltype(size(std::forward<RangeT>(range))) { 79 -> decltype(adl_detail::begin_impl(std::forward<RangeT>(range))) { 87 -> decltype(adl_detail::end_impl(std::forward<RangeT>(range))) { 95 -> decltype(adl_detail::rbegin_impl(std::forward<RangeT>(range))) { 103 -> decltype(adl_detail::rend_impl(std::forward<RangeT>(range))) { 119 -> decltype(adl_detail::size_impl(std::forward<RangeT>(range))) { [all …]
|
H A D | SetOperations.h | 25 decltype(std::declval<Set>().remove_if(std::declval<Fn>())); 33 decltype(std::declval<Set>().erase(std::declval<Set>().begin())); 60 if constexpr (detail::HasMemberRemoveIf<S1Ty, decltype(Pred)>) { in set_intersect() 110 using ElemTy = decltype(*S1.begin()); in set_subtract() 113 if constexpr (detail::HasMemberRemoveIf<S1Ty, decltype(Pred)>) { in set_subtract()
|
H A D | fallible_iterator.h | 72 !std::is_void<decltype(std::declval<T>().operator->())>::value, 73 decltype(std::declval<T>().operator->())>; 99 decltype(auto) operator*() { return *I; } in decltype() function 102 decltype(auto) operator*() const { return *I; } in decltype() function
|
/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | formatter_output.h | 104 …string_view<_CharT> __str, output_iterator<const _OutCharT&> auto __out_it) -> decltype(__out_it) { 105 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… 108 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha… 120 …__first, _Iterator __last, output_iterator<const _OutCharT&> auto __out_it) -> decltype(__out_it) { 128 __copy(_Iterator __first, size_t __n, output_iterator<const _OutCharT&> auto __out_it) -> decltype(… 143 _UnaryOperation __operation) -> decltype(__out_it) { 144 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… 147 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha… 160 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… in __fill() 163 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_CharT>… in __fill() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | reverse_access.h | 47 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(_Cp& __c) -> decltype(__c.rbegin()) { 52 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(const _Cp& __c) -> decltype(__c.rbegin()) { in rend() 57 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(_Cp& __c) -> decltype(__c.rend()) { 62 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(const _Cp& __c) -> decltype(__c.rend()) { 67 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crbegin(const _Cp& __c) -> decltype(std::rbegin(__c)) { 72 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crend(const _Cp& __c) -> decltype(std::rend(__c)) {
|
H A D | iter_move.h | 49 requires is_lvalue_reference_v<decltype(*__t)>; 55 requires(!is_lvalue_reference_v<decltype(*__t)>); 64 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator()(_Ip&& __i) const in decltype() function 73 …noexcept(noexcept(std::move(*std::forward<_Ip>(__i)))) -> decltype(std::move(*std::forward<_Ip>(__… 80 noexcept(noexcept(*std::forward<_Ip>(__i))) -> decltype(*std::forward<_Ip>(__i)) { 95 using iter_rvalue_reference_t = decltype(ranges::iter_move(std::declval<_Tp&>()));
|
H A D | access.h | 35 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(_Cp& __c) -> decltype(__c.begin()) { 40 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(const _Cp& __c) -> decltype(__c.begi… 45 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto end(_Cp& __c) -> decltype(__c.end()) { 50 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto end(const _Cp& __c) -> decltype(__c.end())… 58 cbegin(const _Cp& __c) noexcept(noexcept(std::begin(__c))) -> decltype(std::begin(__c)) { 63 … constexpr auto cend(const _Cp& __c) noexcept(noexcept(std::end(__c))) -> decltype(std::end(__c)) {
|
H A D | size.h | 27 …_ABI constexpr auto size(const _Cont& __c) noexcept(noexcept(__c.size())) -> decltype(__c.size()) { 39 … __c) noexcept(noexcept(static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>( 40 __c.size()))) -> common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>> { 41 return static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>(__c.size());
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | make_projected.h | 39 …typename __invoke_of<_Pred&, decltype(std::__invoke(std::declval<_Proj&>(), std::declval<_Tp>()))>… 47 decltype(std::__invoke(std::declval<_Proj&>(), std::declval<_T1>())), 48 … decltype(std::__invoke(std::declval<_Proj&>(), std::declval<_T2>()))>::type _LIBCPP_CONSTEXPR 84 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) __make_projected_comp(_Comp& __comp, _Proj1& __proj1… in decltype() function 94 std::invoke(__proj1, std::forward<decltype(__lhs)>(__lhs)), in decltype() 95 std::invoke(__proj2, std::forward<decltype(__rhs)>(__rhs))); in decltype()
|
H A D | unwrap_range.h | 49 __rewrap(_Iter __orig_iter, decltype(std::__unwrap_iter(std::move(__orig_iter))) __iter) in __rewrap() 69 __rewrap(_Iter __orig_iter, decltype(std::__unwrap_iter(__orig_iter)) __iter) { 84 template <class _Iter, class _Unwrapped = decltype(std::__unwrap_iter(std::declval<_Iter>()))>
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | operations.h | 54 -> decltype(std::forward<_T1>(__t) + std::forward<_T2>(__u)) { 80 -> decltype(std::forward<_T1>(__t) - std::forward<_T2>(__u)) { 106 -> decltype(std::forward<_T1>(__t) * std::forward<_T2>(__u)) { 132 -> decltype(std::forward<_T1>(__t) / std::forward<_T2>(__u)) { 158 -> decltype(std::forward<_T1>(__t) % std::forward<_T2>(__u)) { 182 -> decltype(-std::forward<_Tp>(__x)) { 210 … std::forward<_T2>(__u))) -> decltype(std::forward<_T1>(__t) & std::forward<_T2>(__u)) { 229 -> decltype(~std::forward<_Tp>(__x)) { 255 -> decltype(std::forward<_T1>(__t) | std::forward<_T2>(__u)) { 281 -> decltype(std::forward<_T1>(__t) ^ std::forward<_T2>(__u)) { [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Casting.h | 399 static inline decltype(auto) castFailed() { return ForwardTo::castFailed(); } 401 static inline decltype(auto) doCast(const From &f) { 405 static inline decltype(auto) doCastIfPossible(const From &f) { 428 static inline decltype(auto) doCast(const From &f) { 513 static inline decltype(auto) doCast(From &f) { 517 static inline decltype(auto) castFailed() { 521 static inline decltype(auto) doCastIfPossible(From &f) { 565 [[nodiscard]] inline decltype(auto) cast(const From &Val) { 571 [[nodiscard]] inline decltype(auto) cast(From &Val) { 577 [[nodiscard]] inline decltype(auto) cast(From *Val) { [all …]
|
H A D | type_traits.h | 82 …static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{}); 84 static constexpr bool value = decltype(get((T*)nullptr))::value; 90 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{}); 92 static constexpr bool value = decltype(get((T*)nullptr))::value;
|
/freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
H A D | view_interface.h | 118 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) front() in decltype() function 127 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) front() const in decltype() function 136 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) back() in decltype() function 145 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) back() const in decltype() function 154 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator[](range_difference_t<_RARange> __index) { in decltype() function 159 …_LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator[](range_difference_t<_RARange> __index) co… in decltype() function
|
H A D | rend.h | 42 { _LIBCPP_AUTO_CAST(__t.rend()) } -> sentinel_for<decltype(ranges::rbegin(__t))>; in requires() 51 { _LIBCPP_AUTO_CAST(rend(__t)) } -> sentinel_for<decltype(ranges::rbegin(__t))>; 56 { ranges::begin(__t) } -> same_as<decltype(ranges::end(__t))>; 101 -> decltype(ranges::rend(static_cast<const remove_reference_t<_Tp>&>(__t))) { 108 …noexcept(ranges::rend(static_cast<const _Tp&&>(__t)))) -> decltype(ranges::rend(static_cast<const …
|
H A D | to.h | 52 { __c.capacity() } -> same_as<decltype(__n)>; in requires() 53 { __c.max_size() } -> same_as<decltype(__n)>; in requires() 134 return ranges::to<range_value_t<_Container>>(std::forward<decltype(__elem)>(__elem)); in to() 166 using _Result = decltype( // in __deduce_func() 174 decltype(_Container(from_range, std::declval<_Range>(), std::declval<_Args>()...)); in __deduce_func() 181 …decltype(_Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>().… in __deduce_func() 190 using type = typename decltype(__deduce_func())::type;
|
/freebsd/contrib/kyua/m4/ |
H A D | ax_cxx_compile_stdcxx.m4 | 225 decltype(a) b = 2; 248 add(T1 a1, T2 a2) -> decltype(a1 + a2) 256 static_assert(is_same<int, decltype(0)>::value == true, ""); 257 static_assert(is_same<int, decltype(c)>::value == false, ""); 258 static_assert(is_same<int, decltype(v)>::value == false, ""); 263 static_assert(is_same<int, decltype(ac)>::value == true, ""); 264 static_assert(is_same<int, decltype(av)>::value == true, ""); 265 static_assert(is_same<int, decltype(sumi)>::value == true, ""); 266 static_assert(is_same<int, decltype(sumf)>::value == false, ""); 267 static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
H A D | promote.h | 50 using type = decltype((__test(_Args()) + ...)); 73 typedef decltype(__test(std::declval<_Tp>())) type; 99 typedef decltype(__type1() + __type2() + __type3()) type; 110 typedef decltype(__type1() + __type2()) type;
|
H A D | invoke.h | 101 decltype((std::declval<_A0>().*std::declval<_Fp>())(std::declval<_Args>()...)) 108 decltype((std::declval<_A0>().get().*std::declval<_Fp>())(std::declval<_Args>()...)) 115 decltype(((*std::declval<_A0>()).*std::declval<_Fp>())(std::declval<_Args>()...)) 124 decltype(std::declval<_A0>().*std::declval<_Fp>()) 131 decltype(std::declval<_A0>().get().*std::declval<_Fp>()) 138 decltype((*std::declval<_A0>()).*std::declval<_Fp>()) 147 decltype(std::declval<_Fp>()(std::declval<_Args>()...)) 157 static decltype(std::__invoke(std::declval<_XFp>(), std::declval<_XArgs>()...)) __try_call(int); 163 using _Result = decltype(__try_call<_Fp, _Args...>(0));
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | pointer_traits.h | 91 static const bool value = decltype(__test<_Tp>(0))::value; 198 struct _HasToAddress<_Pointer, decltype((void)pointer_traits<_Pointer>::to_address(std::declval<con… 205 struct _HasArrow<_Pointer, decltype((void)std::declval<const _Pointer&>().operator->()) > : true_ty… 215 _LIBCPP_CONSTEXPR __decay_t<decltype(__to_address_helper<_Pointer>::__call(std::declval<const _Poin… 223 _LIBCPP_CONSTEXPR static decltype(std::__to_address(std::declval<const _Pointer&>().operator->())) 231 … decltype((void)pointer_traits<_Pointer>::to_address(std::declval<const _Pointer&>()))> { 233 …_LIBCPP_CONSTEXPR static decltype(pointer_traits<_Pointer>::to_address(std::declval<const _Pointer… 247 to_address(const _Pointer& __p) noexcept -> decltype(std::__to_address(__p)) {
|
H A D | uses_allocator_construction.h | 68 __alloc, std::forward<decltype(__args1)>(__args1)...); in __uses_allocator_construction_args() 74 __alloc, std::forward<decltype(__args2)>(__args2)...); in __uses_allocator_construction_args() 148 decltype(__uses_allocator_detail::__fun(std::declval<_Tp>()), true_type()) __convertible_to_const_p… 155 decltype(__uses_allocator_detail::__convertible_to_const_pair_ref_impl<_Tp>(0))::value; 214 …[&__ptr](auto&&... __xs) { return std::__construct_at(__ptr, std::forward<decltype(__xs)>(__xs)...… in __uninitialized_construct_using_allocator() 224 …-> decltype(std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args)...… 230 -> decltype(std::__make_obj_using_allocator<_Type>(__alloc, std::forward<_Args>(__args)...)) { 237 …-> decltype(std::__uninitialized_construct_using_allocator(__ptr, __alloc, std::forward<_Args>(__a…
|
/freebsd/contrib/llvm-project/libcxx/include/__compare/ |
H A D | partial_order.h | 39 -> decltype(partial_ordering(partial_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) { 48 …-> decltype(partial_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u))))… 56 … -> decltype(partial_ordering(std::weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) { 63 -> decltype(__go(std::forward<_Tp>(__t), std::forward<_Up>(__u), __priority_tag<2>())) {
|