[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 15:12:12 PDT 2016
jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
https://reviews.llvm.org/D23335
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCUDA/call-device-fn-from-host.cu
clang/test/SemaCUDA/global-initializers-host.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23335.67421.patch
Type: text/x-patch
Size: 6723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160809/c82261ce/attachment.bin>
More information about the cfe-commits
mailing list