[PATCH] D92427: [OPENMP51] Add present modifier in defaultmap clause

Chi Chun Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 14:13:46 PST 2020


cchen added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:3490
+                OMPC_MAP_MODIFIER_present);
+            ImplicitMapModifierLoc[ClauseKind].push_back(SourceLocation());
+          }
----------------
ABataev wrote:
> Why need to add an empty `SourceLocation`?
I'm doing this since there is no actual location for present modifier. Maybe I should just pass llvm::None to ActOnOpenMPMapClause.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92427



More information about the cfe-commits mailing list