[libcxx-commits] [PATCH] D93383: [libc++] Use c++20 instead of c++2a consistently.

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 16 01:48:13 PST 2020


curdeius created this revision.
curdeius added a reviewer: ldionne.
Herald added a reviewer: jfb.
Herald added subscribers: jfb, arichardson, mgorny.
curdeius requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

- The only exception is that the flag -std=c++2a is still used not to break compatibility with older compilers (clang <= 9, gcc <= 9).
- Bump _LIBCPP_STD_VER for C++20 to 20 and use 21 for the future standard (C++2b).

That's a preparation step to add c++2b support to libc++.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93383

Files:
  libcxx/cmake/caches/Generic-cxx20.cmake
  libcxx/cmake/caches/Generic-cxx2a.cmake
  libcxx/docs/DesignDocs/FeatureTestMacros.rst
  libcxx/docs/FeatureTestMacroTable.rst
  libcxx/docs/UsingLibcxx.rst
  libcxx/include/__config
  libcxx/include/new
  libcxx/include/string
  libcxx/include/string_view
  libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/any.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/chrono.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/cmath.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/complex.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/cstddef.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/iomanip.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/istream.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/limits.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/list.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/locale.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/map.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/numbers.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/ostream.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/regex.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/scoped_allocator.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/set.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/shared_mutex.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/span.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/variant.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
  libcxx/utils/ci/buildkite-pipeline.yml
  libcxx/utils/ci/run-buildbot
  libcxx/utils/generate_feature_test_macro_components.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93383.312156.patch
Type: text/x-patch
Size: 227968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201216/c1723cf9/attachment-0001.bin>


More information about the libcxx-commits mailing list