[PATCH] D18380: [CUDA] Make unattributed constexpr functions (usually) implicitly host+device.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 28 18:57:55 PDT 2016
jlebar updated this revision to Diff 51868.
jlebar added a comment.
Update per changes to patch description. Now a constexpr becomes implicitly HD
unless there's a preceeding __device__ overload.
http://reviews.llvm.org/D18380
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
include/clang/Sema/Sema.h
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaCUDA.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaOverload.cpp
test/SemaCUDA/Inputs/overload.h
test/SemaCUDA/host-device-constexpr.cu
test/SemaCUDA/no-host-device-constexpr.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18380.51868.patch
Type: text/x-patch
Size: 12148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160329/ee80b07e/attachment.bin>
More information about the cfe-commits
mailing list