[Openmp-commits] [PATCH] D85320: [OpenMP] Fix `present` diagnostic for array extension

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 5 11:19:20 PDT 2020


grokos added inline comments.


================
Comment at: openmp/libomptarget/src/device.cpp:194
     // Explicit extension of mapped data - not allowed.
     DP("Explicit extension of mapping is not allowed.\n");
+    if (HasPresentModifier)
----------------
On second thoughts, maybe this should also become a MESSAGE. It's a diagnostic which will help the user understand why the present-related message follows.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85320



More information about the Openmp-commits mailing list