[flang-commits] [flang] [Flang][OpenMP] Allow copyprivate and nowait on the directive clauses (PR #127769)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 28 02:47:48 PST 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 27e6561d108e8a3c17432b14bb5e8675c22a787b 2638d3b871bd4957c78887513283173b4af4a58c --extensions cpp -- flang/lib/Semantics/check-omp-structure.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Semantics/check-omp-structure.cpp b/flang/lib/Semantics/check-omp-structure.cpp
index 9d75d308b2..f4cd6dc47f 100644
--- a/flang/lib/Semantics/check-omp-structure.cpp
+++ b/flang/lib/Semantics/check-omp-structure.cpp
@@ -1856,8 +1856,8 @@ void OmpStructureChecker::Enter(const parser::OpenMPDispatchConstruct &x) {
auto it{block.begin()};
bool passChecks{false};
- if (const parser::AssignmentStmt *assignStmt{
- parser::Unwrap<parser::AssignmentStmt>(*it)}) {
+ if (const parser::AssignmentStmt *
+ assignStmt{parser::Unwrap<parser::AssignmentStmt>(*it)}) {
if (parser::Unwrap<parser::FunctionReference>(assignStmt->t)) {
passChecks = true;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/127769
More information about the flang-commits
mailing list