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 29ed6000d21edd1a88b2daad242e1f356cafbaca 
0887ccae49760f8ea93d6c3fffdc247855f861f1 --extensions cpp -- 
clang/lib/Driver/ToolChains/Flang.cpp flang/lib/Frontend/CompilerInvocation.cpp 
flang/lib/Lower/ConvertVariable.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp 
b/flang/lib/Frontend/CompilerInvocation.cpp
index f9661d1bd3..a7f598fd0e 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -1375,8 +1375,8 @@ bool CompilerInvocation::createFromArgs(
 
   // -f[no-]init-global-zero
   if (!args.hasFlag(clang::driver::options::OPT_finit_global_zero,
-                  clang::driver::options::OPT_fno_init_global_zero,
-                  /*default=*/true))
+                    clang::driver::options::OPT_fno_init_global_zero,
+                    /*default=*/true))
     invoc.loweringOpts.setInitGlobalZero(false);
 
   // Preserve all the remark options requested, i.e. -Rpass, -Rpass-missed or

``````````

</details>


https://github.com/llvm/llvm-project/pull/122144
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to