[flang-commits] [flang] [llvm] [flang][OpenMP] Parsing support for iterator modifiers in FROM and TO (PR #114593)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Mon Nov 4 06:41:29 PST 2024


================
@@ -2138,6 +2138,27 @@ class UnparseVisitor {
     Put(",");
     Walk(std::get<std::optional<ScalarIntConstantExpr>>(x.t));
   }
+  void Unparse(const OmpFromClause &x) {
+    auto &expect =
+        std::get<std::optional<std::list<OmpFromClause::Expectation>>>(x.t);
+    auto &iter = std::get<std::optional<std::list<OmpIteratorModifier>>>(x.t);
----------------
kparzysz wrote:

Done.

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


More information about the flang-commits mailing list