Home
last modified time | relevance | path

Searched refs:decay (Results 1 – 25 of 72) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dno-array-decay.rst1 .. title:: clang-tidy - hicpp-no-array-decay
3 :http-equiv=refresh: 5;URL=../cppcoreguidelines/pro-bounds-array-to-pointer-decay.html
5 hicpp-no-array-decay
8 The `hicpp-no-array-decay` check is an alias, please see
9 …cppcoreguidelines-pro-bounds-array-to-pointer-decay <../cppcoreguidelines/pro-bounds-array-to-poin…
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DContext.h120 typename std::decay<Type>::type Value) const & { in derive()
123 std::make_unique<TypedAnyStorage<typename std::decay<Type>::type>>( in derive()
130 typename std::decay<Type>::type Value) && /* takes ownership */ { in derive()
133 std::make_unique<TypedAnyStorage<typename std::decay<Type>::type>>( in derive()
140 static Key<typename std::decay<Type>::type> Private; in derive()
145 static Key<typename std::decay<Type>::type> Private; in derive()
160 static_assert(std::is_same<typename std::decay<T>::type, T>::value,
205 WithContextValue(const Key<T> &K, typename std::decay<T>::type V) in WithContextValue()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dcommon_type.h55 typedef _LIBCPP_NODEBUG typename decay<decltype(
116 … _IsSame<_Tp, typename decay<_Tp>::type>::value && _IsSame<_Up, typename decay<_Up>::type>::value,
118 common_type<typename decay<_Tp>::type, typename decay<_Up>::type>
H A Ddecay.h51 struct _LIBCPP_TEMPLATE_VIS decay
60 template <class _Tp> using decay_t = typename decay<_Tp>::type;
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dpro-bounds-array-to-pointer-decay.rst1 .. title:: clang-tidy - cppcoreguidelines-pro-bounds-array-to-pointer-decay
3 cppcoreguidelines-pro-bounds-array-to-pointer-decay
12 https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Pro-bounds-decay.
/llvm-project-15.0.7/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/
H A Dostream_joiner.op.assign.pass.cpp57 typedef exper::ostream_joiner<typename std::decay<Delim>::type, CharT, Traits> Joiner; in test()
59 …_constructible<Joiner>::value == std::is_copy_constructible<typename std::decay<Delim>::type>::val… in test()
60 …_constructible<Joiner>::value == std::is_move_constructible<typename std::decay<Delim>::type>::val… in test()
61 …opy_assignable<Joiner> ::value == std::is_copy_assignable<typename std::decay<Delim>::type> ::… in test()
62 …ove_assignable<Joiner> ::value == std::is_move_assignable<typename std::decay<Delim>::type> ::… in test()
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dunwrap_ref.h30 struct decay;
40 struct unwrap_ref_decay : unwrap_reference<typename decay<_Tp>::type> { };
51 : __unwrap_reference<typename decay<_Tp>::type>
H A Dinvoke.h269 class _DecayFp = typename decay<_Fp>::type,
270 class _DecayA0 = typename decay<_A0>::type,
279 class _DecayFp = typename decay<_Fp>::type,
280 class _DecayA0 = typename decay<_A0>::type>
288 class _DecayFp = typename decay<_Fp>::type,
289 class _DecayA0 = typename decay<_A0>::type,
299 class _DecayFp = typename decay<_Fp>::type,
300 class _DecayA0 = typename decay<_A0>::type,
309 class _DecayFp = typename decay<_Fp>::type,
310 class _DecayA0 = typename decay<_A0>::type>
[all …]
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dconstexpr_capture.cpp10 struct decay { struct
14 template <typename TArg0 = int, typename = typename decay<TArg0>::type> V(); argument
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dmake_projected.h63 !is_member_pointer<typename decay<_Pred>::type>::value && (
65 is_same<typename decay<_Proj>::type, identity>::value ||
67 is_same<typename decay<_Proj>::type, __identity>::value
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DScopeExit.h58 LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type>
60 return detail::scope_exit<typename std::decay<Callable>::type>( in make_scope_exit()
/llvm-project-15.0.7/clang/test/PCH/
H A Dcxx-templates.h316 template<typename> struct decay {};
319 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>;
330 template<typename> struct decay {};
335 …template<typename... BarParamTy> auto bar(BarParamTy... barParam) -> decay<decltype(returnsInt(bar…
346 template<typename> struct decay {};
351 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>;
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A D2006-12-10-BitCast.ll19 …%decay.i.0 = phi i32 [ %tmp195.i.upgrd.1, %cond_next182.i ], [ %tmp152.i, %cond_true52 ] ; <i32> …
20 %tmp194.i53 = bitcast i32 %decay.i.0 to float ; <float> [#uses=1]
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
H A Dderived_from_tuple_like.pass.cpp31 typename std::decay<Tp>::type, TracksIntQuals>::value>::type>
39 typename std::decay<Tp>::type, TracksIntQuals>::value>::type>
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_test2.cc45 template <typename T, typename std::decay<decltype(
51 template <typename T, typename std::decay<decltype(
/llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
H A Dmove_convert.pass.cpp45 !std::is_same<typename std::decay<T>::type, typename std::decay<U>::type>::value
59 is_specialization<Templ, typename std::decay<Other>::type >::value
188 typename std::decay<DDest>::type ddest; in doDeleterTest()
189 typename std::decay<DSource>::type dsource; in doDeleterTest()
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dcommon_type.pass.cpp100 static_assert((std::is_same<typename std::decay<T1>::type, T1>::value), "must be same");
101 static_assert((std::is_same<typename std::decay<T2>::type, T2>::value), "must be same");
102 typedef typename std::decay<
129 typedef typename std::decay<T>::type DT; in test_bullet_three_one_imp()
130 typedef typename std::decay<U>::type DU; in test_bullet_three_one_imp()
H A Ddecay.pass.cpp20 ASSERT_SAME_TYPE(U, typename std::decay<T>::type); in test_decay()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dauto_cast.h20 #define _LIBCPP_AUTO_CAST(expr) static_cast<typename decay<decltype((expr))>::type>(expr)
/llvm-project-15.0.7/clang/test/SemaHLSL/
H A Dprohibit_pointer.hlsl53 devilish_language(roar); // allow function pointer decay
56 devilish_language("roar"); // allow array pointer decay
/llvm-project-15.0.7/libcxx/include/experimental/
H A Diterator113 ostream_joiner<typename decay<_Delim>::type, _CharT, _Traits>
115 { return ostream_joiner<typename decay<_Delim>::type, _CharT, _Traits>(__os, _VSTD::forward<_Delim>…
/llvm-project-15.0.7/clang/www/
H A Dlibstdc++4.6-clang11.patch8 + { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
H A Dlibstdc++4.7-clang11.patch10 + { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-actions.h975 internal::DoAllAction<typename std::decay<Action>::type...> DoAll(
986 internal::WithArgsAction<typename std::decay<InnerAction>::type, k>
996 internal::WithArgsAction<typename std::decay<InnerAction>::type, k, ks...>
1006 internal::WithArgsAction<typename std::decay<InnerAction>::type>
1095 typename std::decay<FunctionImpl>::type Invoke(FunctionImpl&& function_impl) {
1109 internal::InvokeWithoutArgsAction<typename std::decay<FunctionImpl>::type>
/llvm-project-15.0.7/compiler-rt/lib/orc/
H A Dstl_extras.h38 std::tuple_size<typename std::decay<Tuple>::type>::value>; in decltype()

123