[libc++] Take advantage of -fexperimental-library in libc++
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 20 Jul 2022 14:42:04 +0000 (10:42 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 22 Jul 2022 12:33:39 +0000 (08:33 -0400)
commitdeb3b5552f04656dee27067b2cc68c906012cfe4
tree16e812d168f3a86ab0fec7f86eb0fa7bfadaadc0
parent07e984bc52014a8565033be10f7e80982e974b99
[libc++] Take advantage of -fexperimental-library in libc++

When -fexperimental-library is passed, libc++ will now pick up the
appropriate __has_feature flag defined by Clang to enable the
experimental library features.

As a fly-by, also update the documentation for the various TSes.

Differential Revision: https://reviews.llvm.org/D130176
libcxx/docs/DesignDocs/ExperimentalFeatures.rst
libcxx/docs/ReleaseNotes.rst
libcxx/docs/Status/Cxx20.rst
libcxx/docs/UsingLibcxx.rst
libcxx/include/__config
libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp [new file with mode: 0644]
libcxx/utils/libcxx/test/params.py