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

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Fri Nov 15 06:05:37 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(...))");
----------------
Leporacanthicus wrote:

Fair point! I've updated the message to contain both a user-friendly explanation and the developer-relevant clause. 

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


More information about the flang-commits mailing list