[libcxx-commits] [libcxx] [libcxx] [test] Detect mingw-w64 headers compatible with C++ module builds (PR #92893)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 21 09:15:02 PDT 2024


================
@@ -38,6 +38,39 @@ def _getAndroidDeviceApi(cfg):
         )
     )
 
+
+def _windowsSupportsModules(cfg):
----------------
mstorsjo wrote:

Ok, sure - I applied such a rename on top.

(My intent was that since we run this for any case with `"_WIN32" in compilerMacros()`, it should be more generic, and we could branch out msvc specific detection here as well. But you're right that we can add a separate `or _msvcSupportsModules()`, in that case, which probably keeps the code easier to understand.)

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


More information about the libcxx-commits mailing list