[libcxx-commits] [PATCH] D121632: [libc++] Switch to the new testing configurations by default

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 14 12:41:26 PDT 2022


mstorsjo added inline comments.


================
Comment at: libcxx/CMakeLists.txt:143
+  set(LIBCXX_DEFAULT_TEST_CONFIG "llvm-libc++-shared-gcc.cfg.in")
+elseif(WIN32 AND NOT MINGW)
+  if (LIBCXX_ENABLE_SHARED)
----------------
This is all a matter of taste, but I'd find `elseif(MINGW)  elseif(WIN32) #clang-cl elseif(...` more straightforward, instead of the `WIN32 AND NOT MINGW` followed by the complement of the negation.

Alternatively, depending on which one to single out, one could also use `elseif (MSVC) # clang-cl elseif (MINGW)`, as `MSVC` is defined in clang-cl configurations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121632/new/

https://reviews.llvm.org/D121632



More information about the libcxx-commits mailing list