[libcxx-commits] [PATCH] D100210: [libc++] Divorce the std Lit feature from the -std=XXX compiler flag

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 9 08:45:48 PDT 2021


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

After this patch, we can use `--param std=c++20` even if the compiler only
supports -std=c++2a. The test suite will handle that for us. The only Lit
feature that isn't fully baked will always be the "in development" one,
since we don't know exactly what year the standard will be ratified in.

This is another take on https://reviews.llvm.org/D99789.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100210

Files:
  libcxx/cmake/caches/Generic-cxx20.cmake
  libcxx/docs/TestingLibcxx.rst
  libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array11.pass.cpp
  libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete11.pass.cpp
  libcxx/test/std/strings/basic.string/string.contains/contains.char.pass.cpp
  libcxx/test/std/strings/basic.string/string.contains/contains.ptr.pass.cpp
  libcxx/test/std/strings/basic.string/string.contains/contains.string_view.pass.cpp
  libcxx/test/std/strings/string.view/string.view.template/contains.char.pass.cpp
  libcxx/test/std/strings/string.view/string.view.template/contains.ptr.pass.cpp
  libcxx/test/std/strings/string.view/string.view.template/contains.string_view.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/utils/libcxx/test/params.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100210.336480.patch
Type: text/x-patch
Size: 9038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210409/fe68043f/attachment-0001.bin>


More information about the libcxx-commits mailing list