[PATCH] D80404: [OPENMP50]Initial support for use_device_addr clause.

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 16:55:40 PDT 2020


jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.

LGTM, one nit below



================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:10179
     Diag(StartLoc, diag::err_omp_no_clause_for_directive)
-        << "'map' or 'use_device_ptr'"
-        << getOpenMPDirectiveName(OMPD_target_data);
+        << Expected << getOpenMPDirectiveName(OMPD_target_data);
     return StmtError();
----------------
The restriction text quoted above doesn't seem to match the code anymore (also before).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80404





More information about the cfe-commits mailing list