| /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_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(::SymSetSearchPathW) *SymSetSearchPathW; [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 …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/time/windows/ |
| H A D | clock_gettime.cpp | 29 cpp::numeric_limits<decltype(ts->tv_sec)>::max(); in clock_gettime() 53 ts->tv_sec = static_cast<decltype(ts->tv_sec)>(tv_sec); in clock_gettime() 54 ts->tv_nsec = static_cast<decltype(ts->tv_nsec)>(tv_nsec); in clock_gettime() 82 ts->tv_sec = static_cast<decltype(ts->tv_sec)>(tv_sec); in clock_gettime() 83 ts->tv_nsec = static_cast<decltype(ts->tv_nsec)>(tv_nsec); in clock_gettime() 125 ts->tv_sec = static_cast<decltype(ts->tv_sec)>(tv_sec); in clock_gettime() 126 ts->tv_nsec = static_cast<decltype(ts->tv_nsec)>(tv_nsec); in clock_gettime()
|
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | formatter_output.h | 87 …string_view<_CharT> __str, output_iterator<const _OutCharT&> auto __out_it) -> decltype(__out_it) { 88 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… 91 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha… 103 …__first, _Iterator __last, output_iterator<const _OutCharT&> auto __out_it) -> decltype(__out_it) { 111 __copy(_Iterator __first, size_t __n, output_iterator<const _OutCharT&> auto __out_it) -> decltype(… 126 _UnaryOperation __operation) -> decltype(__out_it) { 127 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… 130 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha… 143 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… in __fill() 146 …} 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 | 46 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(_Cp& __c) -> decltype(__c.rbegin())… 51 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rbegin(const _Cp& __c) -> decltype(__c.rbe… 56 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(_Cp& __c) -> decltype(__c.rend()) { 61 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto rend(const _Cp& __c) -> decltype(__c.rend(… 66 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crbegin(const _Cp& __c) -> decltype(std::r… 71 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crend(const _Cp& __c) -> decltype(std::ren…
|
| H A D | iter_move.h | 50 requires is_lvalue_reference_v<decltype(*__t)>; 56 requires(!is_lvalue_reference_v<decltype(*__t)>); 65 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator()(_Ip&& __i) const in decltype() function 74 …noexcept(noexcept(std::move(*std::forward<_Ip>(__i)))) -> decltype(std::move(*std::forward<_Ip>(__… 81 noexcept(noexcept(*std::forward<_Ip>(__i))) -> decltype(*std::forward<_Ip>(__i)) { 96 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 | 28 …_ABI constexpr auto size(const _Cont& __c) noexcept(noexcept(__c.size())) -> decltype(__c.size()) { 40 … __c) noexcept(noexcept(static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>( 41 __c.size()))) -> common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>> { 42 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 | 37 …__invoke_result_t<_Pred&, decltype(std::__invoke(std::declval<_Proj&>(), std::declval<_Tp>()))> _L… 45 decltype(std::__invoke(std::declval<_Proj&>(), std::declval<_T1>())), 46 … decltype(std::__invoke(std::declval<_Proj&>(), std::declval<_T2>()))> _LIBCPP_CONSTEXPR 82 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) __make_projected_comp(_Comp& __comp, _Proj1& __proj1… in decltype() function 92 std::invoke(__proj1, std::forward<decltype(__lhs)>(__lhs)), in decltype() 93 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/llvm/include/llvm/ProfileData/ |
| H A D | MemProfYAML.h | 89 static_assert(std::is_same_v<decltype(Function.value), 90 decltype(memprof::Frame::Function)>); 91 decltype(memprof::Frame::LineOffset) LineOffset = 0; 92 decltype(memprof::Frame::Column) Column = 0; 93 decltype(memprof::Frame::IsInlineFrame) IsInlineFrame = false; 109 std::is_same_v<remove_cvref_t<decltype(Function)>, GlobalValue::GUID>); 110 static_assert(std::is_same_v<remove_cvref_t<decltype(SymbolName)>, 113 std::is_same_v<remove_cvref_t<decltype(LineOffset)>, uint32_t>); 114 static_assert(std::is_same_v<remove_cvref_t<decltype(Column)>, uint32_t>); 116 std::is_same_v<remove_cvref_t<decltype(IsInlineFrame)>, bool>); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/experimental/__simd/ |
| H A D | reference.h | 77 template <class _Up, class = decltype(std::declval<value_type&>() += std::declval<_Up>())> 83 template <class _Up, class = decltype(std::declval<value_type&>() -= std::declval<_Up>())> 89 template <class _Up, class = decltype(std::declval<value_type&>() *= std::declval<_Up>())> 95 template <class _Up, class = decltype(std::declval<value_type&>() /= std::declval<_Up>())> 101 template <class _Up, class = decltype(std::declval<value_type&>() %= std::declval<_Up>())> 107 template <class _Up, class = decltype(std::declval<value_type&>() &= std::declval<_Up>())> 113 template <class _Up, class = decltype(std::declval<value_type&>() |= std::declval<_Up>())> 119 template <class _Up, class = decltype(std::declval<value_type&>() ^= std::declval<_Up>())> 125 template <class _Up, class = decltype(std::declval<value_type&>() <<= std::declval<_Up>())> 131 template <class _Up, class = decltype(std::declval<value_type&>() >>= std::declval<_Up>())>
|
| /freebsd/contrib/llvm-project/libcxx/include/__functional/ |
| H A D | operations.h | 56 -> decltype(std::forward<_T1>(__t) + std::forward<_T2>(__u)) { 82 -> decltype(std::forward<_T1>(__t) - std::forward<_T2>(__u)) { 108 -> decltype(std::forward<_T1>(__t) * std::forward<_T2>(__u)) { 134 -> decltype(std::forward<_T1>(__t) / std::forward<_T2>(__u)) { 160 -> decltype(std::forward<_T1>(__t) % std::forward<_T2>(__u)) { 184 -> decltype(-std::forward<_Tp>(__x)) { 212 … std::forward<_T2>(__u))) -> decltype(std::forward<_T1>(__t) & std::forward<_T2>(__u)) { 231 -> decltype(~std::forward<_Tp>(__x)) { 257 -> decltype(std::forward<_T1>(__t) | std::forward<_T2>(__u)) { 283 -> decltype(std::forward<_T1>(__t) ^ std::forward<_T2>(__u)) { [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/ |
| H A D | is_convertible.h | 23 -> decltype(void(static_cast<T (*)()>(nullptr)), cpp::true_type{}); 28 -> decltype(void(cpp::declval<void (&)(To)>()(cpp::declval<From>())), 37 (decltype(detail::test_returnable<To>(0))::value && 38 decltype(detail::test_implicitly_convertible<From, To>(0))::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 …
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/ |
| H A D | invoke.h | 100 decltype((std::declval<_A0>().*std::declval<_Fp>())(std::declval<_Args>()...)) 106 decltype((std::declval<_A0>().get().*std::declval<_Fp>())(std::declval<_Args>()...)) 112 decltype(((*std::declval<_A0>()).*std::declval<_Fp>())(std::declval<_Args>()...)) 120 decltype(std::declval<_A0>().*std::declval<_Fp>()) 126 decltype(std::declval<_A0>().get().*std::declval<_Fp>()) 132 decltype((*std::declval<_A0>()).*std::declval<_Fp>()) 140 decltype(std::declval<_Fp>()(std::declval<_Args>()...)) 149 static decltype(std::__invoke(std::declval<_XFp>(), std::declval<_XArgs>()...)) __try_call(int); 155 using _Result = decltype(__try_call<_Fp, _Args...>(0));
|
| 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;
|
| /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/jemalloc/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/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/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.h | 49 template <typename Func> decltype(auto) withContextDo(Func &&F) { in decltype() function 57 template <typename Func> decltype(auto) withContextDo(Func &&F) const { in decltype() function 113 template <typename Func> decltype(auto) withModuleDo(Func &&F) { in decltype() function 122 template <typename Func> decltype(auto) withModuleDo(Func &&F) const { in decltype() function 132 template <typename Func> decltype(auto) consumingModuleDo(Func &&F) { in decltype() function
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/ |
| H A D | pointer_traits.h | 91 static const bool value = decltype(__test<_Tp>(0))::value; 175 struct _HasToAddress<_Pointer, decltype((void)pointer_traits<_Pointer>::to_address(std::declval<con… 182 struct _HasArrow<_Pointer, decltype((void)std::declval<const _Pointer&>().operator->()) > : true_ty… 191 _LIBCPP_HIDE_FROM_ABI __decay_t<decltype(__to_address_helper<_Pointer>::__call(std::declval<const _… 198 …_LIBCPP_HIDE_FROM_ABI static decltype(std::__to_address(std::declval<const _Pointer&>().operator->… 206 … decltype((void)pointer_traits<_Pointer>::to_address(std::declval<const _Pointer&>()))> { 207 …_LIBCPP_HIDE_FROM_ABI static decltype(pointer_traits<_Pointer>::to_address(std::declval<const _Poi…
|