hanchenye-llvm-project/clang/test/SemaCUDA
Jonas Hahnfeld ee47d8cb96 [CUDA] Allow external variables in separate compilation
According to the CUDA Programming Guide this is prohibited in
whole program compilation mode. This makes sense because external
references cannot be satisfied in that mode anyway. However,
such variables are allowed in separate compilation mode which
is a valid use case.

Differential Revision: https://reviews.llvm.org/D42923

llvm-svn: 325136
2018-02-14 16:04:03 +00:00
..
Inputs
add-inline-in-definition.cu [CUDA] Use only the GVALinkage on function definitions. 2016-11-08 23:45:51 +00:00
addr-of-overloaded-fn.cu
alias.cu
amdgpu-attrs.cu
asm-constraints-device.cu
asm-constraints-mixed.cu
attr-declspec.cu [CUDA] Add __declspec spellings for CUDA attributes. 2017-01-05 16:53:04 +00:00
attributes-on-non-cuda.cu
bad-attributes.cu
bad-calls-on-same-line.cu
builtins.cu
call-device-fn-from-host.cu
call-host-fn-from-device.cu
call-stack-for-deferred-err.cu [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00
config-type.cu
cuda-builtin-vars.cu
cuda-inherits-calling-conv.cu [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
cxx11-kernel-call.cu
device-var-init.cu
error-includes-mode.cu [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
exceptions.cu
extern-shared.cu [CUDA] Allow external variables in separate compilation 2018-02-14 16:04:03 +00:00
function-overload.cu PR34163: Don't cache an incorrect key function for a class if queried between 2017-08-12 01:46:03 +00:00
function-target.cu
function-template-overload.cu [CUDA] Ignore implicit target attributes during function template instantiation. 2016-12-08 19:38:13 +00:00
global-initializers-host.cu
gnu-inline.cu
host-device-constexpr.cu
implicit-copy.cu
implicit-device-lambda.cu
implicit-intrinsic.cu
implicit-member-target-collision-cxx11.cu
implicit-member-target-collision.cu
implicit-member-target.cu
kernel-call.cu
launch_bounds.cu Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
lit.local.cfg
method-target.cu
no-call-stack-for-immediate-errs.cu [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00
no-destructor-overload.cu PR34163: Don't cache an incorrect key function for a class if queried between 2017-08-12 01:46:03 +00:00
no-host-device-constexpr.cu
overloaded-delete.cu
pr27778.cu
qualifiers.cu
reference-to-kernel-fn.cu
trace-through-global.cu
vararg.cu
vla.cu [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00