mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 05:16:06 +00:00

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. Differential Revision: https://reviews.llvm.org/D100210
3 lines
119 B
CMake
3 lines
119 B
CMake
set(LIBCXX_TEST_PARAMS "std=c++20" CACHE STRING "")
|
|
set(LIBCXXABI_TEST_PARAMS "${LIBCXX_TEST_PARAMS}" CACHE STRING "")
|