[flang-commits] [flang] [flang][OpenMP]Add parsing support for MAP(MAPPER(name) ...) (PR #116274)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Fri Nov 15 09:43:22 PST 2024


================
@@ -250,21 +249,26 @@ TYPE_PARSER(
         "TOFROM" >> pure(OmpMapClause::Type::Tofrom)))
 
 template <bool CommasEverywhere>
-static inline OmpMapClause makeMapClause(
+static inline OmpMapClause makeMapClause(OmpMapperIdentifier &&mm,
----------------
kparzysz wrote:

The AST nodes can't be copied, only moved, hence the &&/move everywhere.

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


More information about the flang-commits mailing list