[PATCH] D141871: [Clang][OpenMP] Add parse and sema for iterator map modifier

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 09:42:15 PST 2023


ABataev added a comment.

Can you add positive test for declare mapper?



================
Comment at: clang/lib/Sema/SemaExpr.cpp:5423-5426
+
+    /// Act on the iterator variable declaration.
+    ActOnOpenMPIteratorVarDecl(VD);
+
----------------
Can we register this variable only in declare mapper context, i.e. add a check that we add it only for declare mapper?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141871/new/

https://reviews.llvm.org/D141871



More information about the cfe-commits mailing list