[libcxx-commits] [libcxx] [RFC][libc++][test] Improves C++ Standard filtering. (PR #89499)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 26 09:07:15 PST 2024


https://github.com/ldionne commented:

Personally, I would try to solve the following problems in the following way:

1. We have a lot of things like `UNSUPPORTED: <list of old standards>`. Those can be renamed to `REQUIRES: std-at-least-c++YZ`.
2. We have some tests that require an older standard, which are currently written as `UNSUPPORTED: c++03, c++11, c++14, c++26`. I would rewrite those as `REQUIRES: c++17 || c++20 || c++23` without introducing a new Lit feature.

IMO this probably provides the most readability.

https://github.com/llvm/llvm-project/pull/89499


More information about the libcxx-commits mailing list