[libc++] Implement P0154R1 (Hardware inference size)
authorNikolas Klauser <nikolasklauser@berlin.de>
Wed, 22 Jun 2022 19:10:57 +0000 (21:10 +0200)
committerNikolas Klauser <nikolasklauser@berlin.de>
Wed, 22 Jun 2022 23:31:09 +0000 (01:31 +0200)
commit56a33ba3dd2bfd411e77946871814e98d92ec2fa
treebbd4880ad479e244bb30cfb96c98231f12df7742
parent758504b8ab64cff98a862a4f4e022ab4e069f3f1
[libc++] Implement P0154R1 (Hardware inference size)

`__GCC_CONSTRUCTIVE_SIZE` and `__GCC_DESTRUCTIVE_SIZE` are available since GCC 12. I'm assuming clang will also implement these for compatability with libstdc++.

Reviewed By: ldionne, #libc

Spies: h-vetinari, libcxx-commits, arichardson

Differential Revision: https://reviews.llvm.org/D122276
libcxx/docs/FeatureTestMacroTable.rst
libcxx/docs/ReleaseNotes.rst
libcxx/docs/Status/Cxx17.rst
libcxx/docs/Status/Cxx17Papers.csv
libcxx/include/new
libcxx/include/version
libcxx/test/std/language.support/support.dynamic/hardware_inference_size.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py