Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dbghelp.h27 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 Dsanitizer_win_dll_thunk.h93 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 Dsanitizer_symbolizer_win.cpp22 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-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DADL.h28 -> decltype(begin(std::forward<RangeT>(range))) {
36 -> decltype(end(std::forward<RangeT>(range))) {
53 -> decltype(size(std::forward<RangeT>(range))) {
63 -> decltype(adl_detail::begin_impl(std::forward<RangeT>(range))) {
71 -> decltype(adl_detail::end_impl(std::forward<RangeT>(range))) {
87 -> decltype(adl_detail::size_impl(std::forward<RangeT>(range))) {
94 using IterOfRange = decltype(adl_begin(std::declval<RangeT &>()));
98 std::remove_reference_t<decltype(*adl_begin(std::declval<RangeT &>()))>;
H A Dfallible_iterator.h72 !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-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_output.h104 -> decltype(__out_it) {
105 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer…
120 -> decltype(__out_it) {
128 -> decltype(__out_it) {
141 -> decltype(__out_it) {
158 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… in __fill()
235 ptrdiff_t __size) -> decltype(__out_it) {
251 ptrdiff_t __size) -> decltype(__out_it) {
264 __format_spec::__parsed_specifications<_ParserCharT> __specs) -> decltype(__out_it) {
278 _UnaryOperation __op) -> decltype(__out_it) {
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__iterator/
H A Dreverse_access.h47 _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.rbe…
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::r…
72 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto crend(const _Cp& __c) -> decltype(std::ren…
H A Daccess.h35 _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 -> decltype(std::begin(__c)) {
63 … constexpr auto cend(const _Cp& __c) noexcept(noexcept(std::end(__c))) -> decltype(std::end(__c)) {
H A Diter_move.h49 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 Dsize.h27 …BI constexpr auto size(const _Cont& __c) _NOEXCEPT_(noexcept(__c.size())) -> decltype(__c.size()) {
39 …_NOEXCEPT_(noexcept(static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>(__c…
40 -> 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-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&>(),
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 Dpstl_frontend_dispatch.h25 …[](auto&&... __args) -> decltype(std::name<policy>( …
26 … typename __select_backend<policy>::type{}, std::forward<decltype(__args)>(__args)...)) { \
27 …return std::name<policy>(typename __select_backend<policy>::type{}, std::forward<decltype(__args)>…
31 _LIBCPP_HIDE_FROM_ABI decltype(auto) in decltype() function
H A Dlexicographical_compare_three_way.h39 -> decltype(__comp(*__first1, *__first2)) {
69 -> decltype(__comp(*__first1, *__first2)) {
95 -> decltype(__comp(*__first1, *__first2)) {
96 static_assert(__comparison_category<decltype(__comp(*__first1, *__first2))>,
/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Doperations.h55 -> decltype(std::forward<_T1>(__t) + std::forward<_T2>(__u)) {
81 -> decltype(std::forward<_T1>(__t) - std::forward<_T2>(__u)) {
107 -> decltype(std::forward<_T1>(__t) * std::forward<_T2>(__u)) {
133 -> decltype(std::forward<_T1>(__t) / std::forward<_T2>(__u)) {
159 -> decltype(std::forward<_T1>(__t) % std::forward<_T2>(__u)) {
210 -> decltype(std::forward<_T1>(__t) & std::forward<_T2>(__u)) {
254 -> decltype(std::forward<_T1>(__t) | std::forward<_T2>(__u)) {
280 -> decltype(std::forward<_T1>(__t) ^ std::forward<_T2>(__u)) {
308 -> decltype(std::forward<_T1>(__t) == std::forward<_T2>(__u)) {
369 -> decltype(std::forward<_T1>(__t) < std::forward<_T2>(__u)) {
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Dview_interface.h109 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) front() in decltype() function
118 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) front() const in decltype() function
127 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) back() in decltype() function
136 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) back() const in decltype() function
145 _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator[](range_difference_t<_RARange> __index) { in decltype() function
150 …_LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator[](range_difference_t<_RARange> __index) co… in decltype() function
H A Drend.h42 { _LIBCPP_AUTO_CAST(__t.rend()) } -> sentinel_for<decltype(ranges::rbegin(__t))>; in requires()
52 { _LIBCPP_AUTO_CAST(rend(__t)) } -> sentinel_for<decltype(ranges::rbegin(__t))>;
57 { ranges::begin(__t) } -> same_as<decltype(ranges::end(__t))>;
102 -> decltype(ranges::rend(static_cast<const remove_reference_t<_Tp>&>(__t))) {
110 -> decltype(ranges::rend(static_cast<const _Tp&&>(__t))) {
H A Dto.h51 { __c.capacity() } -> same_as<decltype(__n)>; in requires()
52 { __c.max_size() } -> same_as<decltype(__n)>; in requires()
133 return ranges::to<range_value_t<_Container>>(std::forward<decltype(__elem)>(__elem)); in to()
165 using _Result = decltype( // in __deduce_func()
173 decltype(_Container(from_range, std::declval<_Range>(), std::declval<_Args>()...)); in __deduce_func()
180decltype(_Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>().… in __deduce_func()
189 using type = typename decltype(__deduce_func())::type;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DCasting.h401 static inline decltype(auto) doCast(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) {
605 static inline decltype(auto) unwrapValue(T &t) { return t; }
655 [[nodiscard]] inline decltype(auto) dyn_cast(From &Val) {
[all …]
H A Dtype_traits.h82 …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-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dpointer_traits.h82 static const bool value = decltype(__test<_Tp>(0))::value;
189 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&>()))>
213 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static decltype(std::__to_address(
222decltype((void)pointer_traits<_Pointer>::to_address(std::declval<const _Pointer&>()))> {
223 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static decltype(pointer_traits<_Pointer>::to_address(
238 -> decltype(std::__to_address(__p)) {
H A Duses_allocator_construction.h68 __alloc, std::forward<decltype(__args1)>(__args1)...); in __uses_allocator_construction_args()
74 __alloc, std::forward<decltype(__args2)>(__args2)...); in __uses_allocator_construction_args()
152 decltype(__uses_allocator_detail::__fun(std::declval<_Tp>()), true_type()) __convertible_to_const_p…
159 decltype(__uses_allocator_detail::__convertible_to_const_pair_ref_impl<_Tp>(0))::value;
222 …[&__ptr](auto&&... __xs) { return std::__construct_at(__ptr, std::forward<decltype(__xs)>(__xs)...… in __uninitialized_construct_using_allocator()
232 …-> decltype(std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args)...…
238 -> decltype(std::__make_obj_using_allocator<_Type>(__alloc, std::forward<_Args>(__args)...)) {
245 …-> decltype(std::__uninitialized_construct_using_allocator(__ptr, __alloc, std::forward<_Args>(__a…
/freebsd-14.2/contrib/kyua/m4/
H A Dax_cxx_compile_stdcxx.m4225 decltype(a) b = 2;
248 add(T1 a1, T2 a2) -> decltype(a1 + a2)
326 static_assert(decltype(f(i))::value == 1, "");
327 static_assert(decltype(f(c))::value == 2, "");
328 static_assert(decltype(f(0))::value == 3, "");
380 using nullary_t = decltype(nullary);
381 using unary_t = decltype(unary);
540 decltype(auto) g(int& x) { return x; }
558 static_assert(is_same<int, decltype(f(x))>::value, "");
559 static_assert(is_same<int&, decltype(g(x))>::value, "");
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/__simd/
H A Dutility.h61 return __v ? (numeric_limits<decltype(__choose_mask_type<_Tp>())>::max()) : 0; in __set_all_bits()
68 inline constexpr bool __is_non_narrowing_convertible_v<_From, _To, std::void_t<decltype(_To{std::de…
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/clang/lib/StaticAnalyzer/Checkers/
H A DGCDAntipatternChecker.cpp55 decltype(auto) callsName(const char *FunctionName) { in callsName()
59 decltype(auto) equalsBoundArgDecl(int ArgIdx, const char *DeclName) { in equalsBoundArgDecl()
64 decltype(auto) bindAssignmentToDecl(const char *DeclName) { in bindAssignmentToDecl()
90 static auto findGCDAntiPatternWithSemaphore() -> decltype(compoundStmt()) { in findGCDAntiPatternWithSemaphore()
134 static auto findGCDAntiPatternWithGroup() -> decltype(compoundStmt()) { in findGCDAntiPatternWithGroup()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/
H A Dpartial_order.h37 -> decltype(partial_ordering(partial_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
46 …-> decltype(partial_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u))))…
54 … -> decltype(partial_ordering(std::weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
61 -> decltype(__go(std::forward<_Tp>(__t), std::forward<_Up>(__u), __priority_tag<2>())) {

12345678910>>...16