Home
last modified time | relevance | path

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

12345678910

/freebsd-13.1/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 …]
H A Dsanitizer_getauxval.h48 static inline decltype(AuxInfo::a_v) getauxval(decltype(AuxInfo::a_type) type) { in getauxval()
/freebsd-13.1/contrib/llvm-project/libcxx/include/__iterator/
H A Dreverse_access.h61 auto rbegin(_Cp& __c) -> decltype(__c.rbegin())
68 auto rbegin(const _Cp& __c) -> decltype(__c.rbegin())
75 auto rend(_Cp& __c) -> decltype(__c.rend())
82 auto rend(const _Cp& __c) -> decltype(__c.rend())
89 auto crbegin(const _Cp& __c) -> decltype(_VSTD::rbegin(__c))
96 auto crend(const _Cp& __c) -> decltype(_VSTD::rend(__c))
H A Daccess.h46 begin(_Cp& __c) -> decltype(__c.begin())
54 begin(const _Cp& __c) -> decltype(__c.begin())
62 end(_Cp& __c) -> decltype(__c.end())
70 end(const _Cp& __c) -> decltype(__c.end())
79 auto cbegin(const _Cp& __c) -> decltype(_VSTD::begin(__c))
86 auto cend(const _Cp& __c) -> decltype(_VSTD::end(__c))
H A Dsize.h32 -> decltype (__c.size())
43 _NOEXCEPT_(noexcept(static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>(__c.…
44 -> common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>
45 { return static_cast<common_type_t<ptrdiff_t, make_signed_t<decltype(__c.size())>>>(__c.…
H A Diter_move.h49 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator()(_Ip&& __i) const in decltype() function
62 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator()(_Ip&& __i) const in decltype() function
65 if constexpr (is_lvalue_reference_v<decltype(*_VSTD::forward<_Ip>(__i))>) { in decltype()
83 using iter_rvalue_reference_t = decltype(ranges::iter_move(declval<_Tp&>()));
/freebsd-13.1/contrib/llvm-project/libcxx/include/__functional/
H A Doperations.h57 -> decltype (_VSTD::forward<_T1>(__t) + _VSTD::forward<_T2>(__u))
94 -> decltype (_VSTD::forward<_T1>(__t) - _VSTD::forward<_T2>(__u))
131 -> decltype (_VSTD::forward<_T1>(__t) * _VSTD::forward<_T2>(__u))
168 -> decltype (_VSTD::forward<_T1>(__t) / _VSTD::forward<_T2>(__u))
205 -> decltype (_VSTD::forward<_T1>(__t) % _VSTD::forward<_T2>(__u))
241 -> decltype (- _VSTD::forward<_Tp>(__x))
280 -> decltype (_VSTD::forward<_T1>(__t) & _VSTD::forward<_T2>(__u))
311 -> decltype (~_VSTD::forward<_Tp>(__x))
348 -> decltype (_VSTD::forward<_T1>(__t) | _VSTD::forward<_T2>(__u))
385 -> decltype (_VSTD::forward<_T1>(__t) ^ _VSTD::forward<_T2>(__u))
[all …]
H A Dweak_result_type.h47 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
48 typedef decltype(__test((_Tp*)0)) type;
61 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
62 typedef decltype(__test((_Tp*)0)) type;
296 typename __apply_cv<decltype(*declval<_T1>()), _Ret>::type
398 decltype(declval<_Fp&>()())
406 decltype(declval<_Fp&>()(declval<_A0&>()))
414 decltype(declval<_Fp&>()(declval<_A0&>(), declval<_A1&>()))
437 typedef decltype(_VSTD::__invoke(declval<_Fp&>())) type;
455 typedef decltype(_VSTD::__invoke(declval<_Tp&>(), declval<_A0&>(),
[all …]
H A Dperfect_forward.h38 -> decltype( _Op::__call(_VSTD::get<_Idxs>(__bound_)..., _VSTD::forward<_Args>(__args)...))
44 -> decltype( _Op::__call(_VSTD::get<_Idxs>(__bound_)..., _VSTD::forward<_Args>(__args)...))
51 -> decltype( _Op::__call(_VSTD::get<_Idxs>(_VSTD::move(__bound_))...,
60 -> decltype( _Op::__call(_VSTD::get<_Idxs>(_VSTD::move(__bound_))...,
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors_memintrinsics.cpp39 extern "C" decltype(__asan_memcpy) memcpy[[gnu::alias("__asan_memcpy")]];
40 extern "C" decltype(__asan_memmove) memmove[[gnu::alias("__asan_memmove")]];
41 extern "C" decltype(__asan_memset) memset[[gnu::alias("__asan_memset")]];
H A Dasan_premap_shadow.cpp51 decltype(__asan_shadow)* __asan_premap_shadow() { in __asan_premap_shadow()
55 return reinterpret_cast<decltype(__asan_shadow)*>(premapped_shadow); in __asan_premap_shadow()
/freebsd-13.1/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-13.1/contrib/llvm-project/libcxx/include/__ranges/
H A Dview_interface.h131 constexpr decltype(auto) front() in decltype() function
142 constexpr decltype(auto) front() const in decltype() function
153 constexpr decltype(auto) back() in decltype() function
164 constexpr decltype(auto) back() const in decltype() function
175 constexpr decltype(auto) operator[](range_difference_t<_RARange> __index) in decltype() function
183 constexpr decltype(auto) operator[](range_difference_t<_RARange> __index) const in decltype() function
H A Daccess.h103 using iterator_t = decltype(ranges::begin(declval<_Tp&>()));
169 requires invocable<decltype(ranges::begin), _Tp const&>
177 requires is_rvalue_reference_v<_Tp> && invocable<decltype(ranges::begin), _Tp const&&>
193 requires invocable<decltype(ranges::end), _Tp const&>
201 requires is_rvalue_reference_v<_Tp> && invocable<decltype(ranges::end), _Tp const&&>
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLExtras.h55 using ValueOfRange = typename std::remove_reference<decltype(
215 decltype(auto) adl_begin(ContainerTy &&container) {
222 decltype(auto) adl_end(ContainerTy &&container) {
237 decltype(auto) adl_begin(ContainerTy &&container) {
242 decltype(auto) adl_end(ContainerTy &&container) {
532 decltype(*std::declval<WrappedIteratorT>()) operator*() {
592 using type = std::tuple<decltype(*declval<Iters>())...>;
753 decltype(*std::declval<Iter>())>::type>::type>;
1241 [](decltype((*std::begin(c))) elt) -> decltype((elt.first)) {
1250 [](decltype((*std::begin(c))) elt) -> decltype((elt.second)) {
[all …]
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-13.1/contrib/llvm-project/libcxx/include/
H A Diterator36 using iter_reference_t = decltype(*declval<T&>());
44 using iter_rvalue_reference_t = decltype(ranges::iter_move(declval<T&>())); // since C++20
252 -> decltype(__y.base() - __x.base()); // constexpr in C++17
392 const move_iterator<Iterator2>& y) -> decltype(x.base() - y.base());
536 template <class C> constexpr auto begin(C& c) -> decltype(c.begin());
537 template <class C> constexpr auto begin(const C& c) -> decltype(c.begin());
538 template <class C> constexpr auto end(C& c) -> decltype(c.end());
539 template <class C> constexpr auto end(const C& c) -> decltype(c.end());
557 template <class C> constexpr auto size(const C& c) -> decltype(c.size()); // C++17
564 template <class C> constexpr auto empty(const C& c) -> decltype(c.empty()); // C++17
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachinePassManager.h165 using has_init_t = decltype(std::declval<PassT &>().doInitialization(
187 using has_fini_t = decltype(std::declval<PassT &>().doFinalization(
209 using is_machine_module_pass_t = decltype(std::declval<PassT &>().run(
214 using is_machine_function_pass_t = decltype(std::declval<PassT &>().run(
244 using PassIndex = decltype(Passes)::size_type;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_dynamic_shadow.cpp33 decltype(__hwasan_shadow)* __hwasan_premap_shadow();
73 decltype(__hwasan_shadow)* __hwasan_premap_shadow() { in __hwasan_premap_shadow()
78 return reinterpret_cast<decltype(__hwasan_shadow)*>(shadow); in __hwasan_premap_shadow()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A Dtype_traits.h121 …static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
123 static constexpr bool value = decltype(get((T*)nullptr))::value;
129 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
131 static constexpr bool value = decltype(get((T*)nullptr))::value;
H A DErrno.h33 inline decltype(auto) RetryAfterSignal(const FailT &Fail, const Fun &F, in decltype() function
35 decltype(F(As...)) Res; in decltype()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Dstl_extras.h24 decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) { in decltype() function
36 decltype(auto) apply_tuple(F &&f, Tuple &&t) { in decltype() function

12345678910