Home
last modified time | relevance | path

Searched refs:remove_pointer (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dremove_pointer.h20 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_pointer {typedef _LIBC… struct
21 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_pointer<_Tp*> {typedef _LIBC…
22 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_pointer<_Tp* const> {typedef _LIBC…
23 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_pointer<_Tp* volatile> {typedef _LIBC…
24 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_pointer<_Tp* const volatile> {typedef _LIBC…
27 template <class _Tp> using remove_pointer_t = typename remove_pointer<_Tp>::type;
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Daddress-spaces.cpp21 struct remove_pointer { struct
26 struct remove_pointer<T *> { struct
30 int check_remove0[is_same<remove_pointer<int_1_ptr>::type, int_1>::value? 1 : -1]; argument
31 int check_remove1[is_same<remove_pointer<int_2_ptr>::type, int_2>::value? 1 : -1];
32 int check_remove2[is_same<remove_pointer<int_2_ptr>::type, int>::value? -1 : 1];
33 int check_remove3[is_same<remove_pointer<int_2_ptr>::type, int_1>::value? -1 : 1];
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmatrix-type-builtins.cpp171 struct remove_pointer { struct
176 struct remove_pointer<T *> { struct
177 typedef typename remove_pointer<T>::type type; argument
182 matrix_t<typename remove_pointer<PtrT>::type, R, C> column_major_load_with_stride2(PtrT Ptr) { in column_major_load_with_stride2()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DThreadLocalTest.cpp29 std::is_const<std::remove_pointer<decltype(x.get())>::type>::value, in TEST_F()
44 !std::is_const<std::remove_pointer<decltype(y.get())>::type>::value, in TEST_F()
/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_fetch_sub.pass.cpp51 typedef typename std::remove_pointer<T>::type X; in testp()
61 typedef typename std::remove_pointer<T>::type X; in testp()
H A Datomic_fetch_add.pass.cpp51 typedef typename std::remove_pointer<T>::type X; in testp()
61 typedef typename std::remove_pointer<T>::type X; in testp()
H A Datomic_fetch_sub_explicit.pass.cpp55 typedef typename std::remove_pointer<T>::type X; in testp()
65 typedef typename std::remove_pointer<T>::type X; in testp()
H A Datomic_fetch_add_explicit.pass.cpp56 typedef typename std::remove_pointer<T>::type X; in testp()
66 typedef typename std::remove_pointer<T>::type X; in testp()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h73 typename std::remove_pointer<KeyTy>::type>::type>() || in add()
76 typename std::remove_pointer<KeyTy>::type>::type>()) in add()
80 typename std::remove_pointer<KeyTy>::type>::type>()) in add()
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dmsabi-objc-types.mm169 struct remove_pointer { typedef T type; }; struct
172 struct remove_pointer<T *> {
184 template struct t<remove_pointer<id>::type>;
190 template struct t<remove_pointer<SEL>::type>;
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ptr/
H A Dremove_pointer.pass.cpp19 ASSERT_SAME_TYPE(U, typename std::remove_pointer<T>::type); in test_remove_pointer()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dfunction_type_default_deleter.fail.cpp32 using RawT = typename std::remove_pointer<Tp>::type; in operator ()()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/unord.hash/
H A Dpointer.pass.cpp41 typedef typename std::remove_pointer<T>::type type; in test()
/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.generic/
H A Daddress.pass.cpp80 typedef typename std::remove_pointer<T>::type X; in do_test()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DDenseSetTest.cpp17 static_assert(std::is_const<std::remove_pointer<
H A DTinyPtrVectorTest.cpp25 template <typename T> struct RemovePointer : std::remove_pointer<T> {};
/llvm-project-15.0.7/libcxx/test/support/
H A Dpoisoned_hash_helper.h183 typename std::remove_pointer< in test_hash_disabled()
H A Dtest_iterators.h330 typedef typename std::remove_pointer<It>::type element_type;
386 typedef typename std::remove_pointer<It>::type element_type;
/llvm-project-15.0.7/libcxx/include/experimental/
H A Dpropagate_const147 static_assert(!(is_pointer<_Tp>::value && is_function<typename remove_pointer<_Tp>::type>::value),
149 …static_assert(!(is_pointer<_Tp>::value && is_same<typename remove_cv<typename remove_pointer<_Tp>:…
/llvm-project-15.0.7/libcxx/include/
H A Dtype_traits75 template <class T> struct remove_pointer;
214 using remove_pointer_t = typename remove_pointer<T>::type; // C++14
519 #include <__type_traits/remove_pointer.h>
H A Datomic1781 …static_assert(!is_function<typename remove_pointer<_Tp>::type>::value, "Pointer to function isn't …
1788 …static_assert(!is_function<typename remove_pointer<_Tp>::type>::value, "Pointer to function isn't …
1795 …static_assert(!is_function<typename remove_pointer<_Tp>::type>::value, "Pointer to function isn't …
1802 …static_assert(!is_function<typename remove_pointer<_Tp>::type>::value, "Pointer to function isn't …
H A DCMakeLists.txt620 __type_traits/remove_pointer.h
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-printers.h514 : std::is_function<typename std::remove_pointer<T>::type>::value in PrintTo()
H A Dgtest.h2440 using TestT = typename std::remove_pointer<decltype(factory())>::type; in RegisterTest()
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dpath.h144 typename remove_const<typename remove_pointer<_DS>::type>::type,

12