[flang-commits] [flang] [Flang] Check if two ArrayConstructor's are Equal (PR #121181)

via flang-commits flang-commits at lists.llvm.org
Thu Dec 26 22:14:18 PST 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 f0297ae552e1e5aacafc1ed43968041994dc8a6e 76a7fe6cdd784e2f736bf5366351473e90eb743e --extensions h -- flang/include/flang/Lower/Support/Utils.h
``````````

</details>

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

``````````diff
diff --git a/flang/include/flang/Lower/Support/Utils.h b/flang/include/flang/Lower/Support/Utils.h
index b2f3673f91..5eb39a0889 100644
--- a/flang/include/flang/Lower/Support/Utils.h
+++ b/flang/include/flang/Lower/Support/Utils.h
@@ -554,9 +554,8 @@ public:
               [&](const Expr &v, const Expr &w) { return isEqual(v, w); },
               [&](const auto &, const auto &) {
                 llvm::report_fatal_error("isEqual is not handled yet for "
-                    "the element type in ImpliedDo");
+                                         "the element type in ImpliedDo");
                 return false;
-
               },
           },
           xValue.u, yValue.u);
@@ -581,7 +580,7 @@ public:
               },
               [&](const auto &, const auto &) {
                 llvm::report_fatal_error("isEqual is not handled yet for "
-                    "the element type in ImpliedDo");
+                                         "the element type in ImpliedDo");
                 return false;
               },
           },

``````````

</details>


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


More information about the flang-commits mailing list