Home
last modified time | relevance | path

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

12345

/src/contrib/llvm-project/libcxx/include/__type_traits/
H A Dinvoke.h101 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);
189 …noexcept(_ThisT::__test_noexcept<_Ret>(std::__invoke(std::declval<_Fp>(), std::declval<_Args>()...…
198 static const bool value = noexcept(std::__invoke(std::declval<_Fp>(), std::declval<_Args>()...));
H A Dis_swappable.h62 … __void_t<decltype(swap(std::declval<_Tp>(), std::declval<_Up>())),
63 … decltype(swap(std::declval<_Up>(), std::declval<_Tp>()))> > = true;
68 noexcept(swap(std::declval<_Tp>(), std::declval<_Up>())) &&
69 noexcept(swap(std::declval<_Up>(), std::declval<_Tp>()));
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_callable.h22 template <class _Func, class... _Args, class = decltype(std::declval<_Func>()(std::declval<_Args>()…
/src/contrib/llvm-project/libcxx/include/__ranges/
H A Dto.h65 if constexpr (requires { __c.push_back(std::declval<_Ref>()); }) { in __container_inserter()
165 if constexpr (requires { _Container(std::declval<_Range>(), std::declval<_Args>()...); }) { in __deduce_func()
167 _Container(std::declval<_Range>(), std::declval<_Args>()...)); in __deduce_func()
172 requires { _Container(from_range, std::declval<_Range>(), std::declval<_Args>()...); }) { in __deduce_func()
174 decltype(_Container(from_range, std::declval<_Range>(), std::declval<_Args>()...)); in __deduce_func()
179 …requires { _Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>(… in __deduce_func()
181 …decltype(_Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>().… in __deduce_func()
/src/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&>(), std::declval<_T2>()))>::type _LIBCPP_CONSTEXPR
H A Dcomp_ref_type.h45 …_LIBCPP_HIDE_FROM_ABI decltype((void)std::declval<_Compare&>()(std::declval<_LHS&>(), std::declval
H A Diter_swap.h25 …_NOEXCEPT_(_NOEXCEPT_(swap(*std::declval<_ForwardIterator1>(), *std::declval<_ForwardIterator2>())… in iter_swap()
/src/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.h46 using __synth_three_way_result = decltype(std::__synth_three_way(std::declval<_Tp&>(), std::declval
/src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DADL.h60 T &&rhs) noexcept(noexcept(swap(std::declval<T>(), in swap_impl()
61 std::declval<T>()))) { in swap_impl()
111 noexcept(adl_detail::swap_impl(std::declval<T>(), std::declval<T>()))) { in adl_swap()
126 using IterOfRange = decltype(adl_begin(std::declval<RangeT &>()));
130 std::remove_reference_t<decltype(*adl_begin(std::declval<RangeT &>()))>;
H A DSetOperations.h25 decltype(std::declval<Set>().remove_if(std::declval<Fn>()));
33 decltype(std::declval<Set>().erase(std::declval<Set>().begin()));
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 Diterator.h319 **std::declval<WrappedIteratorT>())>>
334 decltype(std::begin(std::declval<RangeT>()))>
343 typename T = decltype(&*std::declval<WrappedIteratorT>())>
361 decltype(std::begin(std::declval<RangeT>()))>
371 **std::declval<WrappedIteratorT>())>,
/src/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{});
/src/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> *>())),
/src/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 Dallocator_traits.h195 …decltype((void)std::declval<_Alloc>().allocate(std::declval<_SizeType>(), std::declval<_ConstVoidP…
203 struct __has_construct_impl<decltype((void)std::declval<_Alloc>().construct(std::declval<_Args>()..…
215 struct __has_destroy<_Alloc, _Pointer, decltype((void)std::declval<_Alloc>().destroy(std::declval<_…
223 struct __has_max_size<_Alloc, decltype((void)std::declval<_Alloc&>().max_size())> : true_type {};
232 decltype((void)std::declval<_Alloc>().select_on_container_copy_construction())> : true_type {};
H A Dpointer_traits.h198 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…
/src/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>()))>;
/src/contrib/llvm-project/libcxx/include/
H A Doptional217 #include <__utility/declval.h>
985 is_convertible_v<decltype(std::declval<const _Tp&>() == std::declval<const _Up&>()), bool>,
997 is_convertible_v<decltype(std::declval<const _Tp&>() != std::declval<const _Up&>()), bool>,
1009 is_convertible_v<decltype(std::declval<const _Tp&>() < std::declval<const _Up&>()), bool>,
1021 is_convertible_v<decltype(std::declval<const _Tp&>() > std::declval<const _Up&>()), bool>,
1033 is_convertible_v<decltype(std::declval<const _Tp&>() <= std::declval<const _Up&>()), bool>,
1045 is_convertible_v<decltype(std::declval<const _Tp&>() >= std::declval<const _Up&>()), bool>,
1142 is_convertible_v<decltype(std::declval<const _Tp&>() == std::declval<const _Up&>()), bool>,
1150 is_convertible_v<decltype(std::declval<const _Tp&>() == std::declval<const _Up&>()), bool>,
1158 is_convertible_v<decltype(std::declval<const _Tp&>() != std::declval<const _Up&>()), bool>,
[all …]
/src/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>());
/src/contrib/llvm-project/libcxx/modules/std/
H A Dutility.inc28 // [declval], declval
29 using std::declval;
/src/contrib/llvm-project/llvm/include/llvm/Passes/
H A DCodeGenPassBuilder.h150 using has_required_t = decltype(std::declval<PassT &>().isRequired());
153 using is_module_pass_t = decltype(std::declval<PassT &>().run(
154 std::declval<Module &>(), std::declval<ModuleAnalysisManager &>()));
157 using is_function_pass_t = decltype(std::declval<PassT &>().run(
158 std::declval<Function &>(), std::declval<FunctionAnalysisManager &>()));
161 using is_machine_function_pass_t = decltype(std::declval<PassT &>().run(
162 std::declval<MachineFunction &>(),
163 std::declval<MachineFunctionAnalysisManager &>()));
/src/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