| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
| H A D | aligned_storage.pass.cpp | 46 static_assert(std::alignment_of<T1>::value == 1, ""); in main() 59 static_assert(std::alignment_of<T1>::value == 2, ""); in main() 72 static_assert(std::alignment_of<T1>::value == 4, ""); in main() 85 static_assert(std::alignment_of<T1>::value == 8, ""); in main() 98 static_assert(std::alignment_of<T1>::value == 16, ""); in main() 111 static_assert(std::alignment_of<T1>::value == 32, ""); in main() 163 static_assert(std::alignment_of<T1>::value == 1, ""); in main() 176 static_assert(std::alignment_of<T1>::value == 2, ""); in main() 189 static_assert(std::alignment_of<T1>::value == 2, ""); in main() 279 static_assert(std::alignment_of<T1>::value >= in main() [all …]
|
| H A D | aligned_union.pass.cpp | 29 static_assert(std::alignment_of<T1>::value == 1, ""); in main() 39 static_assert(std::alignment_of<T1>::value == 2, ""); in main() 49 static_assert(std::alignment_of<T1>::value == 4, ""); in main() 59 static_assert(std::alignment_of<T1>::value == 8, ""); in main() 69 static_assert(std::alignment_of<T1>::value == 2, ""); in main() 79 static_assert(std::alignment_of<T1>::value == 2, ""); in main() 89 static_assert(std::alignment_of<T1>::value == 4, ""); in main() 99 static_assert(std::alignment_of<T1>::value == 4, ""); in main() 109 static_assert(std::alignment_of<T1>::value == 4, ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | stddef_h.pass.cpp | 57 static_assert((std::alignment_of<max_align_t>::value >= in main() 58 std::alignment_of<long long>::value), in main() 61 static_assert(std::alignment_of<max_align_t>::value >= in main() 62 std::alignment_of<long double>::value, in main() 65 static_assert(std::alignment_of<max_align_t>::value >= in main() 66 std::alignment_of<void*>::value, in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary.prop.query/ |
| H A D | alignment_of.pass.cpp | 23 static_assert( std::alignment_of<T>::value == AlignofResult, ""); in test_alignment_of() 24 static_assert( std::alignment_of<T>::value == A, ""); in test_alignment_of() 25 static_assert( std::alignment_of<const T>::value == A, ""); in test_alignment_of() 26 static_assert( std::alignment_of<volatile T>::value == A, ""); in test_alignment_of() 27 static_assert( std::alignment_of<const volatile T>::value == A, ""); in test_alignment_of()
|
| /llvm-project-15.0.7/libcxx/include/__type_traits/ |
| H A D | alignment_of.h | 22 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS alignment_of struct 27 inline constexpr size_t alignment_of_v = alignment_of<_Tp>::value;
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/storage.iterator/ |
| H A D | raw_storage_iterator.pass.cpp | 40 typedef std::aligned_storage<3*sizeof(S), std::alignment_of<S>::value>::type in main() 56 typedef std::aligned_storage<3*sizeof(S), std::alignment_of<S>::value>::type in main()
|
| H A D | raw_storage_iterator.base.pass.cpp | 38 typedef std::aligned_storage<3*sizeof(A), std::alignment_of<A>::value>::type in main()
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | exception_object_alignment.pass.cpp | 34 auto a = std::alignment_of<S>::value; in main()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/ |
| H A D | libcpp_alignof.pass.cpp | 20 static_assert(_LIBCPP_ALIGNOF(T) == std::alignment_of<T>::value, ""); in test()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | experimental_any_helpers.h | 22 && std::alignment_of<void*>::value 23 % std::alignment_of<T>::value == 0
|
| H A D | any_helpers.h | 30 && std::alignment_of<void*>::value 31 % std::alignment_of<T>::value == 0
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | temporary_buffer.h | 42 align_val_t(alignment_of<_Tp>::value); in get_temporary_buffer()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/ |
| H A D | allocate.cxx2a.pass.cpp | 34 static const size_t MaxAligned = std::alignment_of<std::max_align_t>::value;
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
| H A D | allocate.pass.cpp | 31 static const size_t MaxAligned = std::alignment_of<std::max_align_t>::value;
|
| H A D | allocate_at_least.pass.cpp | 30 static const size_t MaxAligned = std::alignment_of<std::max_align_t>::value;
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | any | 142 using _Buffer = aligned_storage_t<3*sizeof(void*), alignment_of<void*>::value>; 147 && alignment_of<_Buffer>::value 148 % alignment_of<_Tp>::value == 0
|
| H A D | type_traits | 159 template <class T> struct alignment_of; 383 = alignment_of<T>::value; // C++17 430 #include <__type_traits/alignment_of.h>
|
| H A D | new | 238 return __align > alignment_of<max_align_t>::value;
|
| H A D | CMakeLists.txt | 519 __type_traits/alignment_of.h
|
| H A D | module.modulemap.in | 1109 module alignment_of { private header "__type_traits/alignment_of.h" }
|
| H A D | future | 630 typedef typename aligned_storage<sizeof(_Rp), alignment_of<_Rp>::value>::type _Up;
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Alignment.h | 103 return Constant<std::alignment_of<T>::value>(); in Of()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/ |
| H A D | BUILD.gn | 581 "__type_traits/alignment_of.h",
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 73 SYMBOL(alignment_of, std::, <type_traits>)
|