[flang-commits] [flang] [flang][openacc] Lower DO CONCURRENT with acc loop (PR #79223)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 23 17:05:34 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 e4f0829d80aabe7d0b80d8ba60828dd0c9774300 5df7f6f7c8b917fc9fc45d76fcd98c7e69e361f8 -- flang/lib/Lower/OpenACC.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index 422803270d..a2823fb3e2 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -1688,7 +1688,7 @@ createLoopOp(Fortran::lower::AbstractConverter &converter,
   bool isDoConcurrent = outerDoConstruct.IsDoConcurrent();
   if (isDoConcurrent) {
     locs.push_back(converter.genLocation(
-          Fortran::parser::FindSourceLocation(outerDoConstruct)));
+        Fortran::parser::FindSourceLocation(outerDoConstruct)));
     const Fortran::parser::LoopControl *loopControl =
         &*outerDoConstruct.GetLoopControl();
     const auto &concurrent =

``````````

</details>


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


More information about the flang-commits mailing list