[llvm-branch-commits] [flang] [flang][OpenMP] Implement checks for rectangular loops (PR #190648)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 6 11:56:26 PDT 2026
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/Semantics/openmp-utils.h flang/lib/Semantics/check-omp-loop.cpp flang/lib/Semantics/check-omp-structure.h flang/lib/Semantics/openmp-utils.cpp 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/openmp-utils.cpp b/flang/lib/Semantics/openmp-utils.cpp
index 18a10be32..a8c2c1182 100644
--- a/flang/lib/Semantics/openmp-utils.cpp
+++ b/flang/lib/Semantics/openmp-utils.cpp
@@ -756,8 +756,7 @@ WithReason<int64_t> GetHeightWithReason(
} else {
Reason reason;
reason.Say(spec.DirName().source, MsgClauseAbsentAssume,
- GetUpperName(llvm::omp::Clause::OMPC_depth, version),
- "a depth of 2");
+ GetUpperName(llvm::omp::Clause::OMPC_depth, version), "a depth of 2");
return {-1, std::move(reason)};
}
case llvm::omp::Directive::OMPD_fuse:
``````````
</details>
https://github.com/llvm/llvm-project/pull/190648
More information about the llvm-branch-commits
mailing list