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 origin/main HEAD --extensions h,cpp -- 
flang/include/flang/Parser/parse-tree.h flang/lib/Parser/executable-parsers.cpp 
flang/lib/Parser/openmp-parsers.cpp flang/lib/Parser/parse-tree.cpp 
flang/lib/Semantics/canonicalize-omp.cpp flang/lib/Semantics/check-omp-loop.cpp 
flang/lib/Semantics/check-omp-structure.h 
flang/lib/Semantics/resolve-directives.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/flang/lib/Semantics/check-omp-loop.cpp 
b/flang/lib/Semantics/check-omp-loop.cpp
index 9798420eb..b321012fc 100644
--- a/flang/lib/Semantics/check-omp-loop.cpp
+++ b/flang/lib/Semantics/check-omp-loop.cpp
@@ -311,7 +311,8 @@ void OmpStructureChecker::CheckFullUnroll(
             return c.Id() == llvm::omp::Clause::OMPC_partial;
           })};
       if (!isPartial) {
-        context_.Say(x.source, "OpenMP loop construct cannot apply to a fully 
unrolled loop"_err_en_US);
+        context_.Say(x.source,
+            "OpenMP loop construct cannot apply to a fully unrolled 
loop"_err_en_US);
       }
     }
   }

``````````

</details>


https://github.com/llvm/llvm-project/pull/168884
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to