[clang] [Fuchsia] Explicitly set C++ standard C++23 in libcxx tests (PR #73760)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 00:30:53 PST 2023


================
@@ -136,6 +136,7 @@ if(WIN32 OR LLVM_WINSYSROOT)
   set(RUNTIMES_${target}_CMAKE_EXE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
   set(RUNTIMES_${target}_CMAKE_SHARED_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
   set(RUNTIMES_${target}_CMAKE_MODULE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
+  set(RUNTIMES_${target}_LIBCXX_TEST_PARAMS "std=c++23" CACHE STRING "")
----------------
petrhosek wrote:

This is just a nit, but can you move this next to the other `*_LIBCXX_*` flags in this block?

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


More information about the cfe-commits mailing list