[PATCH] D23335: [CUDA] Reject calls to __device__ functions from host variable global initializers.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 16:39:39 PDT 2016


jlebar updated this revision to Diff 67435.
jlebar marked an inline comment as done.
jlebar added a comment.

Test tweak per review.


https://reviews.llvm.org/D23335

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDecl.cpp
  clang/test/SemaCUDA/global-initializers-host.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23335.67435.patch
Type: text/x-patch
Size: 6192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160809/872d50c4/attachment-0001.bin>


More information about the cfe-commits mailing list