[flang-commits] [flang] [flang][OpenMP]Add parsing support for MAP(MAPPER(name) ...) (PR #116274)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Fri Nov 15 03:07:25 PST 2024


================
@@ -974,6 +975,10 @@ Map make(const parser::OmpClause::Map &inp,
       std::get<std::optional<std::list<parser::OmpIteratorModifier>>>(inp.v.t);
   auto &t2 = std::get<std::optional<std::list<wrapped::Type>>>(inp.v.t);
   auto &t3 = std::get<parser::OmpObjectList>(inp.v.t);
+  auto &t4 = std::get<parser::OmpMapperIdentifier>(inp.v.t);
+
+  if (t4.v)
+    TODO_NOLOC("OmpMapClause(MAPPER(...))");
----------------
tblah wrote:

Please could you write something easier for users to parse. Maybe something like "support for user-defined mappers".

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


More information about the flang-commits mailing list