[PATCH] D91281: [CUDA][HIP] Diagnose reference of host variable

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 10:11:57 PST 2020


yaxunl updated this revision to Diff 304569.
yaxunl added a comment.

add comments about H->D not diagnosed


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

https://reviews.llvm.org/D91281

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaCUDA.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGenCUDA/function-overload.cu
  clang/test/SemaCUDA/device-use-host-var.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91281.304569.patch
Type: text/x-patch
Size: 8883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201111/27f16c10/attachment-0001.bin>


More information about the cfe-commits mailing list