[flang][OpenMP]Add parsing support for MAP(MAPPER(name) ...) (#116274)
commit92604d7c8061615dfb77568cc9cb2169f648290a
authorMats Petersson <mats.petersson@arm.com>
Wed, 20 Nov 2024 09:23:41 +0000 (20 09:23 +0000)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 09:23:41 +0000 (20 09:23 +0000)
tree2a2396a2c261f0b458729865c81cba331cda3096
parent9111d531d85a743986ebc51b68fc1734086531ea
[flang][OpenMP]Add parsing support for MAP(MAPPER(name) ...) (#116274)

This prepares for using the DECLARE MAPPER construct.

A check in lowering will say "Not implemented" when trying to use a
mapper as some code is required to tie the mapper to the declared one.

Senantics check for the symbol generated.
flang/include/flang/Parser/dump-parse-tree.h
flang/include/flang/Parser/parse-tree.h
flang/lib/Lower/OpenMP/Clauses.cpp
flang/lib/Parser/openmp-parsers.cpp
flang/lib/Parser/unparse.cpp
flang/lib/Semantics/resolve-names.cpp
flang/test/Lower/OpenMP/Todo/map-mapper.f90 [new file with mode: 0644]
flang/test/Parser/OpenMP/map-modifiers.f90
flang/test/Semantics/OpenMP/map-clause-symbols.f90 [new file with mode: 0644]
flang/test/Semantics/OpenMP/map-clause.f90