Home
last modified time | relevance | path

Searched refs:is_pointer (Results 1 – 25 of 56) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Dis_pointer.pass.cpp20 static_assert( std::is_pointer<T>::value, ""); in test_is_pointer()
21 static_assert( std::is_pointer<const T>::value, ""); in test_is_pointer()
22 static_assert( std::is_pointer<volatile T>::value, ""); in test_is_pointer()
23 static_assert( std::is_pointer<const volatile T>::value, ""); in test_is_pointer()
35 static_assert(!std::is_pointer<T>::value, ""); in test_is_not_pointer()
36 static_assert(!std::is_pointer<const T>::value, ""); in test_is_not_pointer()
37 static_assert(!std::is_pointer<volatile T>::value, ""); in test_is_not_pointer()
38 static_assert(!std::is_pointer<const volatile T>::value, ""); in test_is_not_pointer()
H A Dpointer.pass.cpp27 static_assert( std::is_pointer<T>::value, ""); in test_pointer_imp()
57 static_assert(!std::is_pointer<incomplete_type>::value, ""); in main()
H A Dlvalue_ref.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
H A Drvalue_ref.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
H A Denum.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_enum_imp()
H A Dfloating_point.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_floating_point_imp()
H A Dclass.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_class_imp()
H A Dmember_object_pointer.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_member_object_pointer_imp()
H A Dunion.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
H A Dvoid.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_void_imp()
H A Dnullptr.pass.cpp29 static_assert(!std::is_pointer<T>::value, ""); in test_nullptr_imp()
H A Darray.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_array_imp()
H A Dintegral.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_integral_imp()
H A Dfunction.pass.cpp35 static_assert(!std::is_pointer<T>::value, ""); in test()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_pointer.h25 struct _LIBCPP_TEMPLATE_VIS is_pointer : _BoolConstant<__is_pointer(_Tp)> { }; struct
45 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_pointer
50 inline constexpr bool is_pointer_v = is_pointer<_Tp>::value;
H A Dis_scalar.h45 is_pointer<_Tp>::value ||
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp_class_spec.cpp3 struct is_pointer { struct
8 struct is_pointer<T*> { argument
13 struct is_pointer<const T*> { struct
17 int array0[is_pointer<int>::value? -1 : 1]; argument
18 int array1[is_pointer<int*>::value? 1 : -1];
19 int array2[is_pointer<const int*>::value? 1 : -1];
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A Dtype_traits.h36 !std::is_pointer<UnderlyingT>::value &&
48 T, std::enable_if_t<std::is_pointer<T>::value>> {
58 struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> {
68 std::enable_if_t<std::is_pointer<T>::value>> {
H A DBinaryStreamWriter.h130 static_assert(!std::is_pointer<T>::value, in writeObject()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DDisasm.cpp25 inline std::enable_if_t<!std::is_pointer<T>::value, T> ReadArg(Program &P, in ReadArg()
31 inline std::enable_if_t<std::is_pointer<T>::value, T> ReadArg(Program &P, in ReadArg()
H A DByteCodeEmitter.cpp129 static std::enable_if_t<!std::is_pointer<T>::value, void>
142 static std::enable_if_t<std::is_pointer<T>::value, void>
H A DSource.h47 template <typename T> std::enable_if_t<!std::is_pointer<T>::value, T> read() { in read()
/llvm-project-15.0.7/libcxx/test/libcxx/type_traits/
H A Dis_pointer.arc.pass.mm15 // std::is_pointer
25 static_assert(std::is_pointer<T>::value, "");
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h51 static_assert(std::is_pointer<T>::value, "T must be a pointer type"); in jitTargetAddressToPointer()
62 static_assert(std::is_pointer<T>::value && in jitTargetAddressToFunction()
/llvm-project-15.0.7/compiler-rt/lib/orc/
H A Dexecutor_address.h55 static_assert(std::is_pointer<T>::value, "T must be a pointer type"); in toPtr()

123