Home
last modified time | relevance | path

Searched refs:remove_const (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dremove_const.h20 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_const {typedef _Tp type;}; struct
21 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_const<const _Tp> {typedef _Tp type;};
23 template <class _Tp> using remove_const_t = typename remove_const<_Tp>::type;
H A Dremove_cv.h23 {typedef typename remove_volatile<typename remove_const<_Tp>::type>::type type;};
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h72 typename std::remove_const< in add()
75 typename std::remove_const< in add()
79 typename std::remove_const< in add()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp_class_spec.cpp98 struct remove_const { struct
103 struct remove_const<const T> { argument
107 int remove_const0[is_same<remove_const<const int>::type, int>::value? 1 : -1]; argument
108 int remove_const1[is_same<remove_const<const int[3]>::type, int[3]>::value? 1 : -1];
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dcopy.h43 class = __enable_if_t<is_same<typename remove_const<_InValueT>::type, _OutValueT>::value
61 …__enable_if_t<is_same<typename remove_const<__iter_value_type<_InIter> >::type, __iter_value_type<…
H A Dmove.h44 class = __enable_if_t<is_same<typename remove_const<_InType>::type, _OutType>::value
73 … __enable_if_t<is_same<typename remove_const<typename iterator_traits<_InIter>::value_type>::type,
H A Dmove_backward.h47 is_same<typename remove_const<_Tp>::type, _Up>::value &&
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.cv/
H A Dremove_const.pass.cpp20 ASSERT_SAME_TYPE(U, typename std::remove_const<T>::type); in test_remove_const_imp()
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/class.path/path.req/
H A Dis_pathable.pass.cpp44 class ExpQual = typename std::remove_const<Exp>::type>
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h401 typedef typename std::remove_const<Element>::type RawElement;
425 typedef typename std::remove_const<
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DMatchers.h154 using Value = typename std::remove_const<
/llvm-project-15.0.7/libcxx/include/
H A Dtype_traits62 template <class T> struct remove_const;
174 using remove_const_t = typename remove_const<T>::type; // C++14
516 #include <__type_traits/remove_const.h>
548 typedef _LIBCPP_NODEBUG typename remove_const<typename remove_reference<_Tp>::type>::type type;
782 : conditional<_IsSame<typename remove_const<_First>::type, _Key>::value,
H A DCMakeLists.txt616 __type_traits/remove_const.h
H A Dmodule.modulemap.in1206 module remove_const { private header "__type_traits/remove_const.h" }
H A Datomic951 using __ptr_type = typename remove_const<decltype(__a->__a_value)>::type*;
957 using __ptr_type = typename remove_const<decltype(__a->__a_value)>::type*;
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h1620 typedef typename PointeeOf<typename std::remove_const<
1759 typename std::is_pointer<typename std::remove_const<T>::type>::type(),
1826 typename std::is_pointer<typename std::remove_const<T>::type>::type(),
2109 typename std::remove_const<LhsContainer>::type>
4061 typename std::remove_const<Container>::type>>
4065 typedef typename std::remove_const<Container>::type RawContainer;
4098 typename std::remove_const<Container>::type>
4103 typedef typename std::remove_const<Container>::type RawContainer;
4133 typename std::remove_const<RhsContainer>::type>::type::value_type>>
4139 typedef typename std::remove_const<RhsContainer>::type RawRhsContainer;
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dpath.h144 typename remove_const<typename remove_pointer<_DS>::type>::type,
151 : __can_convert_char<typename remove_const<_ECharT>::type> {
152 using _Base = __can_convert_char<typename remove_const<_ECharT>::type>;
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h729 template <class _Tp> struct remove_const {typedef _Tp type;};
730 template <class _Tp> struct remove_const<const _Tp> {typedef _Tp type;};
750 is_same<typename remove_const<_Tp>::type, _Up>::value &&
782 is_same<typename remove_const<_Tp>::type, _Up>::value &&
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h856 typename std::remove_const<typename std::remove_reference<T>::type>::type
940 std::is_same<typename std::remove_const<
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallVector.h494 std::enable_if_t<std::is_same<typename std::remove_const<T1>::type,
1274 typename std::remove_const<typename std::remove_reference<
H A DSTLExtras.h809 llvm::Optional<typename std::remove_const<typename std::remove_reference<
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Diterator_traits.h495 using __iter_key_type = typename remove_const<typename iterator_traits<_InputIterator>::value_type:…
/llvm-project-15.0.7/libcxx/include/__memory/
H A Duninitialized_algorithms.h559 class _RawType = typename remove_const<_Type>::type,
/llvm-project-15.0.7/libcxx/include/experimental/
H A Dsimd1063 !std::is_same<typename std::remove_const<_Tp>::type, bool>::value,
1305 typename remove_const<_Tp>::type operator-() const&&;
1372 std::is_same<typename std::remove_const<_Up>::type, int>::value ||
1373 (std::is_same<typename std::remove_const<_Up>::type,
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn678 "__type_traits/remove_const.h",

12