[clang] [flang] [llvm] [flang][driver] rename flang-new to flang (PR #110023)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 11:30:50 PDT 2024


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 aae7ac668588192e21a2435da0229fa0f49c231f cd3960354231edcf3dce4860bc56243b33fc7f01 --extensions h,cpp -- clang/lib/Driver/Driver.cpp clang/lib/Driver/ToolChains/Flang.cpp flang/examples/FlangOmpReport/FlangOmpReport.cpp flang/include/flang/Optimizer/Analysis/AliasAnalysis.h flang/include/flang/Tools/CrossToolHelpers.h flang/lib/Frontend/CompilerInvocation.cpp flang/lib/Frontend/FrontendActions.cpp flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp flang/tools/flang-driver/driver.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index adf2d192da..09ac129d3e 100644
--- a/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -154,8 +154,7 @@ bool executeCompilerInvocation(CompilerInstance *flang) {
   // Honor -help.
   if (flang->getFrontendOpts().showHelp) {
     clang::driver::getDriverOptTable().printHelp(
-        llvm::outs(), "flang -fc1 [options] file...",
-        "LLVM 'Flang' Compiler",
+        llvm::outs(), "flang -fc1 [options] file...", "LLVM 'Flang' Compiler",
         /*ShowHidden=*/false, /*ShowAllAliases=*/false,
         llvm::opt::Visibility(clang::driver::options::FC1Option));
     return true;

``````````

</details>


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


More information about the llvm-commits mailing list