[llvm-branch-commits] [flang] [flang][OpenMP] Parsing support for iterator in DEPEND clause (PR #113622)
Kiran Chandramohan via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 25 05:19:33 PDT 2024
================
@@ -3307,6 +3307,15 @@ void OmpStructureChecker::Enter(const parser::OmpClause::Depend &x) {
}
}
}
+ if (std::get<std::optional<parser::OmpIteratorModifier>>(inOut->t)) {
+ unsigned version{context_.langOptions().OpenMPVersion};
+ unsigned allowedInVersion = 50;
----------------
kiranchandramohan wrote:
```suggestion
unsigned allowedInVersion{50};
```
https://github.com/llvm/llvm-project/pull/113622
More information about the llvm-branch-commits
mailing list