[PATCH] D133457: Add Clang driver flags equivalent to cl's /MD, /MT, /MDd, /MTd.

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 14 13:17:00 PDT 2022


mstorsjo added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:6546
 
+  if (Triple.isOSWindows() && !D.IsCLMode())
+    ProcessVSRuntimeLibrary(Args, CmdArgs);
----------------
Should this be `Triple.isWindowsMSVCEnvironment()`? We don't want to do this at least for the mingw/cygwin environments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133457



More information about the cfe-commits mailing list