[flang] [llvm] [flang][OpenMP] Parsing support for iterator in DEPEND clause (PR #113622)

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 04:59:06 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;
----------------
kparzysz wrote:

Done

https://github.com/llvm/llvm-project/pull/113622


More information about the llvm-commits mailing list