[libcxx-commits] [PATCH] D150795: [libc++] Updates C++2b to C++23.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 18 11:52:52 PDT 2023


Mordante created this revision.
Herald added subscribers: arphaman, arichardson.
Herald added a project: All.
Mordante updated this revision to Diff 523349.
Mordante added a comment.
Mordante updated this revision to Diff 523397.
Mordante published this revision for review.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

CI fixes.


Mordante added a comment.

Fixes CI.


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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150795

Files:
  libcxx/cmake/caches/Generic-cxx23.cmake
  libcxx/cmake/caches/Generic-cxx2b.cmake
  libcxx/docs/FeatureTestMacroTable.rst
  libcxx/docs/ReleaseNotes.rst
  libcxx/docs/Status/Cxx23.rst
  libcxx/docs/Status/Cxx23Issues.csv
  libcxx/docs/Status/Cxx23Papers.csv
  libcxx/docs/Status/Cxx2b.rst
  libcxx/docs/Status/Cxx2bIssues.csv
  libcxx/docs/Status/Cxx2bPapers.csv
  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
  libcxx/test/libcxx/numerics/c.math/constexpr-cxx23-gcc.pass.cpp
  libcxx/test/libcxx/numerics/c.math/constexpr-cxx2b-clang.pass.cpp
  libcxx/test/libcxx/numerics/c.math/constexpr-cxx2b-gcc.pass.cpp
  libcxx/test/libcxx/transitive_includes.sh.cpp
  libcxx/test/libcxx/transitive_includes/cxx23.csv
  libcxx/test/libcxx/transitive_includes/cxx2b.csv
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150795.523397.patch
Type: text/x-patch
Size: 413147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230518/8c8310e6/attachment-0001.bin>


More information about the libcxx-commits mailing list