[flang] [llvm] [Flang] Add parser support for AUTOMAP modifier (PR #151511)
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 06:09:54 PDT 2025
================
@@ -601,6 +604,13 @@ TYPE_PARSER(sourced(construct<OmpDependClause::TaskDep::Modifier>(sourced(
TYPE_PARSER(
sourced(construct<OmpDeviceClause::Modifier>(Parser<OmpDeviceModifier>{})))
+TYPE_PARSER(
+ sourced(construct<OmpEnterClause::Modifier>(Parser<OmpAutomapModifier>{})))
+
+TYPE_PARSER(construct<OmpEnterClause>(
+ maybe(nonemptyList(Parser<OmpEnterClause::Modifier>{}) / ":"),
+ Parser<OmpObjectList>{}))
+
----------------
kparzysz wrote:
Nitpick: This section is for modifiers only, the actual clause parsers are below. Somebody has already added a couple of non-modifier parsers here, but the intent is to keep them separate.
https://github.com/llvm/llvm-project/pull/151511
More information about the llvm-commits
mailing list