[flang-commits] [flang] [OpenMP][Flang] Fix semantic check and scoping for declare mappers (PR #140560)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Tue May 27 07:44:43 PDT 2025


================
@@ -2093,7 +2093,11 @@ class UnparseVisitor {
     Walk(x.v, ",");
   }
   void Unparse(const OmpMapperSpecifier &x) {
-    Walk(std::get<std::optional<Name>>(x.t), ":");
+    const auto &mapperName = std::get<std::string>(x.t);
----------------
kparzysz wrote:

Same here (and below):  ...mapperName{...};

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


More information about the flang-commits mailing list