================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to