[libcxx-commits] [libcxx] [libc++][test] Enhance `ADDITIONAL_COMPILE_FLAGS` to work with MSVC (PR #74974)
Stephan T. Lavavej via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Dec 11 13:52:39 PST 2023
================
@@ -13,9 +13,12 @@
import subprocess
import sys
-_isClang = lambda cfg: "__clang__" in compilerMacros(cfg) and "__apple_build_version__" not in compilerMacros(cfg)
+_isAnyClang = lambda cfg: "__clang__" in compilerMacros(cfg)
----------------
StephanTLavavej wrote:
I could define it as the antonym of `_isAnyClang`. (We don't actually use `libcxx/utils/libcxx/test/features.py` in our weird setup, which is the only reason I didn't do that here.) Avoiding stale features makes total sense, I'll push a change!
https://github.com/llvm/llvm-project/pull/74974
More information about the libcxx-commits
mailing list