[flang-commits] [flang] [flang] Tune warning about incompatible implicit interfaces (PR #136788)

via flang-commits flang-commits at lists.llvm.org
Tue Apr 22 16:42:10 PDT 2025


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 HEAD~1 HEAD --extensions cpp,h -- flang/include/flang/Evaluate/characteristics.h flang/include/flang/Evaluate/tools.h flang/lib/Evaluate/characteristics.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Evaluate/characteristics.cpp b/flang/lib/Evaluate/characteristics.cpp
index 7de93bdf0..89547733e 100644
--- a/flang/lib/Evaluate/characteristics.cpp
+++ b/flang/lib/Evaluate/characteristics.cpp
@@ -934,7 +934,7 @@ std::optional<DummyArgument> DummyArgument::FromActual(std::string &&name,
               if (type->type().category() == TypeCategory::Character &&
                   type->type().kind() == 1) {
                 type->set_isPossibleSequenceAssociation(true);
-              } else if (const Symbol *array{IsArrayElement(expr)}) {
+              } else if (const Symbol * array{IsArrayElement(expr)}) {
                 type->set_isPossibleSequenceAssociation(
                     IsContiguous(*array, context).value_or(false));
               } else {

``````````

</details>


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


More information about the flang-commits mailing list