| /llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
| H A D | is_pointer.pass.cpp | 20 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 D | pointer.pass.cpp | 27 static_assert( std::is_pointer<T>::value, ""); in test_pointer_imp() 57 static_assert(!std::is_pointer<incomplete_type>::value, ""); in main()
|
| H A D | rvalue_ref.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
|
| H A D | lvalue_ref.pass.cpp | 27 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
|
| H A D | union.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
|
| H A D | enum.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_enum_imp()
|
| H A D | floating_point.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_floating_point_imp()
|
| H A D | void.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_void_imp()
|
| H A D | member_object_pointer.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_member_object_pointer_imp()
|
| H A D | class.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_class_imp()
|
| H A D | nullptr.pass.cpp | 29 static_assert(!std::is_pointer<T>::value, ""); in test_nullptr_imp()
|
| H A D | array.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_array_imp()
|
| H A D | integral.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_integral_imp()
|
| H A D | function.pass.cpp | 35 static_assert(!std::is_pointer<T>::value, ""); in test()
|
| H A D | member_function_pointer.pass.cpp | 29 static_assert(!std::is_pointer<T>::value, "");
|
| /llvm-project/libc/src/__support/CPP/type_traits/ |
| H A D | is_pointer.h | 1 //===-- is_pointer type_traits ----------------------------------*- C++ -*-===// 19 // is_pointer 20 template <typename T> struct is_pointer : cpp::false_type {}; 21 template <typename T> struct is_pointer<T *> : cpp::true_type {}; 22 template <typename T> struct is_pointer<T *const> : cpp::true_type {}; 23 template <typename T> struct is_pointer<T *volatile> : cpp::true_type {}; 24 template <typename T> struct is_pointer<T *const volatile> : cpp::true_type {}; 26 LIBC_INLINE_VAR constexpr bool is_pointer_v = is_pointer<T>::value; 18 template <typename T> struct is_pointer : cpp::false_type {}; global() struct
|
| /llvm-project/libcxx/include/__type_traits/ |
| H A D | is_pointer.h | 25 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; struct 53 struct _LIBCPP_TEMPLATE_VIS is_pointer 58 inline constexpr bool is_pointer_v = is_pointer<_Tp>::value;
|
| H A D | is_scalar.h | 18 #include <__type_traits/is_pointer.h> 51 is_pointer<_Tp>::value ||
|
| /llvm-project/clang/test/SemaTemplate/ |
| H A D | temp_class_spec.cpp | 3 struct is_pointer { struct 8 struct is_pointer<T*> { struct 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/libcxx/test/libcxx/type_traits/ |
| H A D | is_pointer.arc.pass.mm | 15 // std::is_pointer 25 static_assert(std::is_pointer<T>::value, "");
|
| /llvm-project/mlir/include/mlir/IR/ |
| H A D | OwningOpRef.h | 56 if constexpr (std::is_pointer<OpTy>::value)
|
| /llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | JITSymbol.h | 51 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/clang/lib/AST/Interp/ |
| H A D | Source.h | |
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryStreamWriter.h | 129 static_assert(!std::is_pointer<T>::value, in writeObject()
|
| /llvm-project/libc/src/__support/CPP/ |
| H A D | CMakeLists.txt | 145 type_traits/is_pointer.h
|