[flang-commits] [flang] [clang] [flang][driver] deprecate manual usage of -lFortran_main (PR #79016)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Mon Jan 22 11:05:22 PST 2024


================
@@ -1193,6 +1193,16 @@ static void addFortranMain(const ToolChain &TC, const ArgList &Args,
     return;
   }
 
+  const Driver &D = TC.getDriver();
----------------
banach-space wrote:

Move this whole block below the `// 2. GNU and similar`? Otherwise it seems that this is still part of MSVC processing.

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


More information about the flang-commits mailing list