[llvm-branch-commits] [flang] [flang][OpenMP] Semantic checks for DOACROSS clause (PR #115397)
Tom Eccles via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 11 04:15:12 PST 2024
================
@@ -1656,6 +1664,11 @@ void OmpStructureChecker::ChecksOnOrderedAsStandalone() {
"Only SINK or SOURCE dependence types are allowed when ORDERED construct is a standalone construct with no ORDERED region"_err_en_US);
}
}
+ auto doaClauses = FindClauses(llvm::omp::Clause::OMPC_doacross);
----------------
tblah wrote:
nit: elsewhere in this file braced initialization is used
```suggestion
auto doaClauses{FindClauses(llvm::omp::Clause::OMPC_doacross)};
```
See also other cases in this diff
https://github.com/llvm/llvm-project/pull/115397
More information about the llvm-branch-commits
mailing list