Home
last modified time | relevance | path

Searched refs:declval (Results 1 – 25 of 113) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Dto.h64 if constexpr (requires { __c.push_back(std::declval<_Ref>()); }) { in __container_inserter()
164 if constexpr (requires { _Container(std::declval<_Range>(), std::declval<_Args>()...); }) { in __deduce_func()
166 _Container(std::declval<_Range>(), std::declval<_Args>()...)); in __deduce_func()
171 requires { _Container(from_range, std::declval<_Range>(), std::declval<_Args>()...); }) { in __deduce_func()
173 decltype(_Container(from_range, std::declval<_Range>(), std::declval<_Args>()...)); in __deduce_func()
178 …requires { _Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>(… in __deduce_func()
180 …decltype(_Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>().… in __deduce_func()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachinePassManager.h182 using has_init_t = decltype(std::declval<PassT &>().doInitialization(
183 std::declval<Module &>(),
184 std::declval<MachineFunctionAnalysisManager &>()));
204 using has_fini_t = decltype(std::declval<PassT &>().doFinalization(
205 std::declval<Module &>(),
206 std::declval<MachineFunctionAnalysisManager &>()));
226 using is_machine_module_pass_t = decltype(std::declval<PassT &>().run(
227 std::declval<Module &>(),
228 std::declval<MachineFunctionAnalysisManager &>()));
232 std::declval<MachineFunction &>(),
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Dinvoke.h295 decltype((std::declval<_A0>().*std::declval<_Fp>())(std::declval<_Args>()...))
302 decltype((std::declval<_A0>().get().*std::declval<_Fp>())(std::declval<_Args>()...))
309 decltype(((*std::declval<_A0>()).*std::declval<_Fp>())(std::declval<_Args>()...))
318 decltype(std::declval<_A0>().*std::declval<_Fp>())
325 decltype(std::declval<_A0>().get().*std::declval<_Fp>())
332 decltype((*std::declval<_A0>()).*std::declval<_Fp>())
341 decltype(std::declval<_Fp>()(std::declval<_Args>()...))
351 static decltype(std::__invoke(std::declval<_XFp>(), std::declval<_XArgs>()...)) __try_call(int);
383 …noexcept(_ThisT::__test_noexcept<_Ret>(std::__invoke(std::declval<_Fp>(), std::declval<_Args>()...…
392 static const bool value = noexcept(std::__invoke(std::declval<_Fp>(), std::declval<_Args>()...));
H A Dcommon_type.h29 using __cond_type = decltype(false ? std::declval<_Tp>() : std::declval<_Up>());
49 struct __common_type2_imp<_Tp, _Up, __void_t<decltype(true ? std::declval<_Tp>() : std::declval<_Up…
50 …typedef _LIBCPP_NODEBUG __decay_t<decltype(true ? std::declval<_Tp>() : std::declval<_Up>())> type;
H A Dis_swappable.h60 static decltype(swap(std::declval<_LHS>(), std::declval<_RHS>())) __test_swap(int);
78 noexcept(swap(std::declval<_Tp>(), std::declval<_Up>()))&& noexcept(
79 swap(std::declval<_Up>(), std::declval<_Tp>()));
H A Dis_callable.h22 template <class _Func, class... _Args, class = decltype(std::declval<_Func>()(std::declval<_Args>()…
/freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/
H A Dcompare_three_way_result.h31 …decltype(std::declval<__make_const_lvalue_ref<_Tp>>() <=> std::declval<__make_const_lvalue_ref<_Up…
32 …using type = decltype(std::declval<__make_const_lvalue_ref<_Tp>>() <=> std::declval<__make_const_l…
H A Dsynth_three_way.h51 using __synth_three_way_result = decltype(std::__synth_three_way(std::declval<_Tp&>(), std::declval
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DADL.h44 T &&rhs) noexcept(noexcept(swap(std::declval<T>(), in swap_impl()
45 std::declval<T>()))) { in swap_impl()
79 noexcept(adl_detail::swap_impl(std::declval<T>(), std::declval<T>()))) { in adl_swap()
94 using IterOfRange = decltype(adl_begin(std::declval<RangeT &>()));
98 std::remove_reference_t<decltype(*adl_begin(std::declval<RangeT &>()))>;
H A DFunctionExtras.h71 std::is_same<decltype(std::declval<CallableT>()(std::declval<Params>()...)),
73 std::is_same<const decltype(std::declval<CallableT>()(
74 std::declval<Params>()...)),
76 std::is_convertible<decltype(std::declval<CallableT>()(
77 std::declval<Params>()...)),
H A DSTLFunctionalExtras.h61 std::is_convertible<decltype(std::declval<Callable>()(
62 std::declval<Params>()...)),
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dmake_projected.h39 …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&>(),
49 … std::declval<_T2>())) >::type _LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI
H A Dcomp_ref_type.h44 …_LIBCPP_CONSTEXPR_SINCE_CXX14 inline _LIBCPP_HIDE_FROM_ABI decltype((void)std::declval<_Compare&>(…
45 std::declval<_LHS&>(), std::declval<_RHS&>()))
H A Diter_swap.h25 …_NOEXCEPT_(_NOEXCEPT_(swap(*std::declval<_ForwardIterator1>(), *std::declval<_ForwardIterator2>())… in iter_swap()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A Dtype_traits.h82 …static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
90 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringOptionVisitor.h41 decltype(std::declval<RefactoringOptionVisitor>().visit(
42 std::declval<RefactoringOption>(),
43 *std::declval<std::optional<T> *>())),
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dconstruct_at.h38 template <class _Tp, class... _Args, class = decltype(::new(std::declval<void*>()) _Tp(std::declval
46 template <class _Tp, class... _Args, class = decltype(::new(std::declval<void*>()) _Tp(std::declval
H A Dpointer_traits.h189 struct _HasToAddress<_Pointer, decltype((void)pointer_traits<_Pointer>::to_address(std::declval<con…
196 struct _HasArrow<_Pointer, decltype((void)std::declval<const _Pointer&>().operator->()) > : true_ty…
206 __decay_t<decltype(__to_address_helper<_Pointer>::__call(std::declval<const _Pointer&>()))>
214 std::declval<const _Pointer&>().operator->()))
222 … decltype((void)pointer_traits<_Pointer>::to_address(std::declval<const _Pointer&>()))> {
224 std::declval<const _Pointer&>()))
H A Dallocator_traits.h193 …decltype((void)std::declval<_Alloc>().allocate(std::declval<_SizeType>(), std::declval<_ConstVoidP…
201 struct __has_construct_impl<decltype((void)std::declval<_Alloc>().construct(std::declval<_Args>()..…
213 struct __has_destroy<_Alloc, _Pointer, decltype((void)std::declval<_Alloc>().destroy(std::declval<_…
221 struct __has_max_size<_Alloc, decltype((void)std::declval<_Alloc&>().max_size())> : true_type {};
230 decltype((void)std::declval<_Alloc>().select_on_container_copy_construction())> : true_type {};
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/__simd/
H A Dutility.h68 …l __is_non_narrowing_convertible_v<_From, _To, std::void_t<decltype(_To{std::declval<_From>()})>> =
85 … std::void_t<decltype(std::declval<_Generator>()(integral_constant<size_t, _Idx>()))>> =
86 … __can_broadcast_v<_Tp, decltype(std::declval<_Generator>()(integral_constant<size_t, _Idx>()))>;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__concepts/
H A Dcommon_with.h35 static_cast<common_type_t<_Tp, _Up>>(std::declval<_Tp>());
36 static_cast<common_type_t<_Tp, _Up>>(std::declval<_Up>());
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Doptional223 #include <__utility/declval.h>
986 is_convertible_v<decltype(std::declval<const _Tp&>() == std::declval<const _Up&>()), bool>,
998 is_convertible_v<decltype(std::declval<const _Tp&>() != std::declval<const _Up&>()), bool>,
1010 is_convertible_v<decltype(std::declval<const _Tp&>() < std::declval<const _Up&>()), bool>,
1022 is_convertible_v<decltype(std::declval<const _Tp&>() > std::declval<const _Up&>()), bool>,
1034 is_convertible_v<decltype(std::declval<const _Tp&>() <= std::declval<const _Up&>()), bool>,
1046 is_convertible_v<decltype(std::declval<const _Tp&>() >= std::declval<const _Up&>()), bool>,
1175 is_convertible_v<decltype(std::declval<const _Tp&>() < std::declval<const _Up&>()), bool>,
1183 is_convertible_v<decltype(std::declval<const _Tp&>() < std::declval<const _Up&>()), bool>,
1207 is_convertible_v<decltype(std::declval<const _Tp&>() > std::declval<const _Up&>()), bool>,
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dutility.inc28 // [declval], declval
29 using std::declval;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__utility/
H A Dis_pointer_in_range.h31 struct __is_less_than_comparable<_Tp, _Up, __void_t<decltype(std::declval<_Tp>() < std::declval<_Up…
/freebsd-14.2/contrib/llvm-project/libcxx/include/__iterator/
H A Dincrementable_traits.h60 using difference_type = make_signed_t<decltype(std::declval<_Tp>() - std::declval<_Tp>())>;

12345