[flang-commits] [flang] [flang][OpenMP] Fix common block missing symbol crash (PR #67330)

via flang-commits flang-commits at lists.llvm.org
Tue Nov 7 22:03:01 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 2fe9a342a69d25636421b105d8c5e0cbbcce6a75 9c8341bfb140494b8c53dedbe54e680b31211eb9 -- flang/include/flang/Lower/AbstractConverter.h flang/lib/Lower/Bridge.cpp flang/lib/Lower/OpenMP.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Lower/Bridge.cpp b/flang/lib/Lower/Bridge.cpp
index 825afd43e692..3173c7fd7481 100644
--- a/flang/lib/Lower/Bridge.cpp
+++ b/flang/lib/Lower/Bridge.cpp
@@ -587,7 +587,7 @@ public:
 
   bool isPresentShallowLookup(Fortran::semantics::Symbol &sym) override final {
     return bool(shallowLookupSymbol(sym));
-      return true;
+    return true;
     return false;
   }
 

``````````

</details>


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


More information about the flang-commits mailing list