[libc++] Implement P1272R4 (std::byteswap)
authorNikolas Klauser <nikolasklauser@berlin.de>
Sun, 21 Nov 2021 23:22:55 +0000 (00:22 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Mon, 22 Nov 2021 00:28:18 +0000 (01:28 +0100)
commit1dc62f2653f837745251bd905940c11962469b45
tree16c07518246977a67c65531034a339cedf6eaa9f
parente5a4d0f1498c51858ee9e6682b235389f500ed15
[libc++] Implement P1272R4 (std::byteswap)

Implement P1274R4

Reviewed By: Quuxplusone, Mordante, #libc

Spies: jloser, lebedev.ri, mgorny, libcxx-commits, arichardson

Differential Revision: https://reviews.llvm.org/D114074
12 files changed:
libcxx/docs/FeatureTestMacroTable.rst
libcxx/docs/Status/Cxx2bPapers.csv
libcxx/include/CMakeLists.txt
libcxx/include/__bit/byteswap.h [new file with mode: 0644]
libcxx/include/bit
libcxx/include/module.modulemap
libcxx/include/version
libcxx/test/libcxx/diagnostics/detail.headers/bit/byteswap.module.verify.cpp [new file with mode: 0644]
libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
libcxx/test/std/numerics/bit/byteswap.pass.cpp [new file with mode: 0644]
libcxx/utils/generate_feature_test_macro_components.py