[PATCH] D98193: [CUDA][HIP] Allow non-ODR use of host var in device

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 10 05:47:45 PST 2021


yaxunl updated this revision to Diff 329632.
yaxunl marked an inline comment as done.
yaxunl added a comment.

Follow C++ about ODR-use of variables.


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

https://reviews.llvm.org/D98193

Files:
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGenCUDA/device-use-host-var.cu
  clang/test/SemaCUDA/device-use-host-var.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98193.329632.patch
Type: text/x-patch
Size: 11633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210310/a6dc2fbc/attachment-0001.bin>


More information about the cfe-commits mailing list