llvm-project/libcxx
Alex Richardson 0a893cfb44 [libc++] Avoid relying on non-portable behaviour in std::align
Round-tripping pointers via size_t is not portable, the C/C++ standards
only require this to be valid when using (u)intptr_t.
Originally committed to the CHERI fork of LLVM as
dd01245185,
but I forgot to upstream the change. I rediscovered this issue due to a
compiler warning when building libc++ on a Arm Morello system.

Reviewed By: #libc, ldionne, philnik

Differential Revision: https://reviews.llvm.org/D134363
2022-10-03 12:45:21 +00:00
..
benchmarks [libc++] Extend check for non-ASCII characters to src/, test/ and benchmarks/ 2022-08-23 18:36:38 -04:00
cmake [runtimes] Remove all traces of the legacy testing configuration system 2022-09-30 15:03:33 -04:00
docs Revert "[libc++] Implement P0591R4 (Utility functions to implement uses-allocator construction)" 2022-10-02 18:40:43 -07:00
include Revert "[libc++] Implement P0591R4 (Utility functions to implement uses-allocator construction)" 2022-10-02 18:40:43 -07:00
lib [libc++] Rename __libcpp_assertion_handler to __libcpp_verbose_abort 2022-07-29 13:52:42 -04:00
src [libc++] Avoid relying on non-portable behaviour in std::align 2022-10-03 12:45:21 +00:00
test [libc++] Remove a part of reverted D131898 or D130695 2022-10-03 00:51:21 -07:00
utils [runtimes] Remove all traces of the legacy testing configuration system 2022-09-30 15:03:33 -04:00
.clang-format [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
.clang-tidy [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
.gitignore
CMakeLists.txt [libcxx] Support LIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY + LIBCXX_ENABLE_ABI_LINKER_SCRIPT 2022-09-27 10:04:54 +02:00
CREDITS.TXT Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml [libc++] Re-apply "Always build c++experimental.a"" 2022-07-19 10:44:19 -04:00