[all-commits] [llvm/llvm-project] 714005: [libc++] Updates C++2b to C++23.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue May 23 09:44:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71400505ca048507e827013eb1ea0bc863525cab
      https://github.com/llvm/llvm-project/commit/71400505ca048507e827013eb1ea0bc863525cab
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-05-23 (Tue, 23 May 2023)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list