[flang-commits] [flang] [OpenMP][Flang] Emit default declare mappers implicitly for derived types (PR #140562)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Jul 1 08:01:35 PDT 2025


================
@@ -1389,8 +1389,28 @@ TYPE_PARSER(
 TYPE_PARSER(sourced(construct<OpenMPDeclareTargetConstruct>(
     verbatim("DECLARE TARGET"_tok), Parser<OmpDeclareTargetSpecifier>{})))
 
+static OmpMapperSpecifier ConstructOmpMapperSpecifier(
----------------
skatrak wrote:

Nit: This name seems to follow other existing similar functions better, IMO. In any case, the first letter should be lowercase.
```suggestion
static OmpMapperSpecifier makeMapperSpecifier(
```

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


More information about the flang-commits mailing list