[clang] [flang][Driver] Let the linker fail on multiple definitions of main() (PR #73124)

Michael Klemm via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 22 06:19:31 PST 2023


================
@@ -1029,7 +1042,7 @@ void tools::addFortranRuntimeLibraryPath(const ToolChain &TC,
                                          ArgStringList &CmdArgs) {
   // Default to the <driver-path>/../lib directory. This works fine on the
   // platforms that we have tested so far. We will probably have to re-fine
-  // this in the future. In particular, on some platforms, we may need to use
+  // this in the future. In particular, on some platforms, we may need to useq
----------------
mjklemm wrote:

Yes, indeed.  Sorry about that!

I have also found typos in my comment.  Fixed these, too.

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


More information about the cfe-commits mailing list