summaryrefslogtreecommitdiff
path: root/flang/examples/FeatureList/FeatureList.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2024-10-11 11:38:32 -0500
committerGitHub <noreply@github.com>2024-10-11 11:38:32 -0500
commit697d65ded678f405b637e769f1b0bcc755c8461a (patch)
tree9a265192230812e710ec9f500e88845a1250c689 /flang/examples/FeatureList/FeatureList.cpp
parent64bcb27d97137a1fd4f2f85025d414201c67b2d2 (diff)
[flang][OpenMP] Parsing support for map type modifiers (#111860)
This commit adds parsing of type modifiers for the MAP clause: CLOSE, OMPX_HOLD, and PRESENT. The support for ALWAYS has already existed. The new modifiers are not yet handled in lowering: when present, a TODO message is emitted and compilation stops.
Diffstat (limited to 'flang/examples/FeatureList/FeatureList.cpp')
-rw-r--r--flang/examples/FeatureList/FeatureList.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/flang/examples/FeatureList/FeatureList.cpp b/flang/examples/FeatureList/FeatureList.cpp
index 8fd0236608a6..06ca12a492d2 100644
--- a/flang/examples/FeatureList/FeatureList.cpp
+++ b/flang/examples/FeatureList/FeatureList.cpp
@@ -492,9 +492,8 @@ public:
READ_FEATURE(OmpLinearModifier::Type)
READ_FEATURE(OmpLoopDirective)
READ_FEATURE(OmpMapClause)
- READ_FEATURE(OmpMapType)
- READ_FEATURE(OmpMapType::Always)
- READ_FEATURE(OmpMapType::Type)
+ READ_FEATURE(OmpMapClause::TypeModifier)
+ READ_FEATURE(OmpMapClause::Type)
READ_FEATURE(OmpObject)
READ_FEATURE(OmpObjectList)
READ_FEATURE(OmpOrderClause)