[clang] [clang] Support --sysroot= for ${arch}-windows-msvc targets (PR #96417)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 10:45:30 PDT 2024


================
@@ -95,18 +95,21 @@ class ToolChain {
 
   enum CXXStdlibType {
     CST_Libcxx,
-    CST_Libstdcxx
+    CST_Libstdcxx,
+    CST_Stl,
----------------
zmodem wrote:

I think most C++ developers understand STL as a generic term for the standard library rather than for Microsoft's implementation specifically.

`-stdlib=stl` could be confusing; `-stdlib=msstl` would be much clearer. (And the enumeration should be named to match.)

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


More information about the cfe-commits mailing list