| /llvm-project-15.0.7/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 | lvalue_ref.pass.cpp | 27 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
|
| H A D | rvalue_ref.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
|
| 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 | class.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_class_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 | union.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
|
| H A D | void.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_void_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()
|
| /llvm-project-15.0.7/libcxx/include/__type_traits/ |
| H A D | is_pointer.h | 25 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 D | is_scalar.h | 45 is_pointer<_Tp>::value ||
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | temp_class_spec.cpp | 3 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 D | type_traits.h | 36 !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 D | BinaryStreamWriter.h | 130 static_assert(!std::is_pointer<T>::value, in writeObject()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Disasm.cpp | 25 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 D | ByteCodeEmitter.cpp | 129 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 D | Source.h | 47 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 D | is_pointer.arc.pass.mm | 15 // std::is_pointer 25 static_assert(std::is_pointer<T>::value, "");
|
| /llvm-project-15.0.7/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-15.0.7/compiler-rt/lib/orc/ |
| H A D | executor_address.h | 55 static_assert(std::is_pointer<T>::value, "T must be a pointer type"); in toPtr()
|