================
@@ -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
_______________________________________________
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