Home
last modified time | relevance | path

Searched refs:type_identity (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dtype_identity.h27 template<class _Tp> struct type_identity { typedef _Tp type; }; struct
28 template<class _Tp> using type_identity_t = typename type_identity<_Tp>::type;
/llvm-project-15.0.7/clang/include/clang/Tooling/Transformer/
H A DTransformer.h47 template <class T> struct type_identity { struct
99 typename detail::type_identity<MetadataT>::type>>)>
215 typename detail::type_identity<MetadataT>::type>>)>
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Diota_view.h48 if constexpr (sizeof(_Int) < sizeof(short)) return type_identity<short>{}; in __call()
49 else if constexpr (sizeof(_Int) < sizeof(int)) return type_identity<int>{}; in __call()
50 else if constexpr (sizeof(_Int) < sizeof(long)) return type_identity<long>{}; in __call()
51 else return type_identity<long long>{}; in __call()
63 type_identity<iter_difference_t<_Start>>,
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dtype_identity.pass.cpp21 ASSERT_SAME_TYPE(T, typename std::type_identity<T>::type); in test_type_identity()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dstringview-nullptr.cpp12 struct type_identity { using type = T; }; argument
14 using type_identity_t = typename type_identity<T>::type;
/llvm-project-15.0.7/libcxx/include/
H A Dtype_traits78 template<class T> struct type_identity; // C++20
80 using type_identity_t = typename type_identity<T>::type; // C++20
522 #include <__type_traits/type_identity.h>
H A DCMakeLists.txt623 __type_traits/type_identity.h
H A Dmodule.modulemap.in1213 module type_identity { private header "__type_traits/type_identity.h" }
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn685 "__type_traits/type_identity.h",
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc1156 SYMBOL(type_identity, std::, <type_traits>)