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

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


================
@@ -2241,6 +2262,27 @@ class UnparseVisitor {
     Walk(":",
         std::get<std::optional<OmpDefaultmapClause::VariableCategory>>(x.t));
   }
+  void Unparse(const OmpToClause &x) {
+    auto &expect =
+        std::get<std::optional<std::list<OmpToClause::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 llvm-commits mailing list