[flang-commits] [flang] [clang] [flang][nfc] Refactor linker invocation logic (PR #75534)

via flang-commits flang-commits at lists.llvm.org
Thu Dec 14 13:45:27 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 3e6da3252fbbe58c309b58e08c8a16ac2797b5da 966e22e415ac2e696b4fd387e729e43799b2585f -- clang/lib/Driver/ToolChains/CommonArgs.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp
index 35f3db31db..6de41642a7 100644
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -1194,7 +1194,7 @@ void tools::addFortranRuntimeLibs(const ToolChain &TC, const ArgList &Args,
     CmdArgs.push_back("-lFortran_main");
     CmdArgs.push_back("--no-whole-archive");
     return;
-  } 
+  }
 
   CmdArgs.push_back("-lFortran_main");
 }

``````````

</details>


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


More information about the flang-commits mailing list