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

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Fri Nov 15 06:05:36 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,
----------------
Leporacanthicus wrote:

First of all, it took me about 3 hours to get this part right! :) [because the error message is convoluted and doesn't actually tell you what you did wrong, only that it can't find the right function to call]

But am I missing something here? The second argument is `&&mods` and the third is `&&objs` - which is an rvalue reference. right? 

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


More information about the flang-commits mailing list