[libc++] Updates C++2b to C++23.
authorMark de Wever <koraq@xs4all.nl>
Wed, 17 May 2023 15:54:53 +0000 (17:54 +0200)
committerMark de Wever <koraq@xs4all.nl>
Tue, 23 May 2023 16:44:41 +0000 (18:44 +0200)
commit71400505ca048507e827013eb1ea0bc863525cab
treed6b7b94e141d49a29aebcb6658d9fdaa8b5766cd
parent90418dc95ec1cd5aeb844d93f055b94759e2c408
[libc++] Updates C++2b to C++23.

During the ISO C++ Committee meeting plenary session the C++23 Standard
has been voted as technical complete.

This updates the reference to c++2b to c++23 and updates the __cplusplus
macro.

Note since we use clang-tidy 16 a small work-around is needed. Clang
knows -std=c++23 but clang-tidy not so for now force the lit compiler
flag to use -std=c++2b instead of -std=c++23.

Reviewed By: #libc, philnik, jloser, ldionne

Differential Revision: https://reviews.llvm.org/D150795
95 files changed:
libcxx/cmake/caches/Generic-cxx23.cmake [moved from libcxx/cmake/caches/Generic-cxx2b.cmake with 56% similarity]
libcxx/docs/FeatureTestMacroTable.rst
libcxx/docs/ReleaseNotes.rst
libcxx/docs/Status/Cxx23.rst [moved from libcxx/docs/Status/Cxx2b.rst with 89% similarity]
libcxx/docs/Status/Cxx23Issues.csv [moved from libcxx/docs/Status/Cxx2bIssues.csv with 100% similarity]
libcxx/docs/Status/Cxx23Papers.csv [moved from libcxx/docs/Status/Cxx2bPapers.csv with 100% similarity]
libcxx/docs/Status/Zip.rst
libcxx/docs/index.rst
libcxx/include/__config
libcxx/include/ranges
libcxx/include/string
libcxx/include/string_view
libcxx/include/type_traits
libcxx/include/utility
libcxx/test/libcxx/numerics/c.math/constexpr-cxx23-clang.pass.cpp [moved from libcxx/test/libcxx/numerics/c.math/constexpr-cxx2b-clang.pass.cpp with 99% similarity]
libcxx/test/libcxx/numerics/c.math/constexpr-cxx23-gcc.pass.cpp [moved from libcxx/test/libcxx/numerics/c.math/constexpr-cxx2b-gcc.pass.cpp with 99% similarity]
libcxx/test/libcxx/transitive_includes.sh.cpp
libcxx/test/libcxx/transitive_includes/cxx23.csv [moved from libcxx/test/libcxx/transitive_includes/cxx2b.csv with 100% similarity]
libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.volatile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/any.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/array.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/barrier.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/bitset.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/coroutine.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/cstdlib.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/expected.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/format.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/mdspan.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/memory_resource.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.compile.pass.cpp
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/numbers.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/source_location.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/span.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/stdatomic.h.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/typeinfo.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
libcxx/test/std/strings/basic.string/string.cons/nullptr.compile.pass.cpp
libcxx/test/std/strings/string.view/string.view.cons/nullptr.compile.pass.cpp
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_scoped_enum.pass.cpp
libcxx/test/std/utilities/utility/utility.underlying/to_underlying.pass.cpp
libcxx/test/std/utilities/utility/utility.underlying/to_underlying.verify.cpp
libcxx/test/support/test_macros.h
libcxx/utils/ci/buildkite-pipeline-clang.yml
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot
libcxx/utils/generate_feature_test_macro_components.py
libcxx/utils/generate_header_inclusion_tests.py
libcxx/utils/libcxx/test/params.py