llvm-project/clang/test/SemaCUDA
Eli Bendersky 9a220fca4a CUDA: Fix incorrect target inference for implicit members.
As PR20495 demonstrates, Clang currenlty infers the CUDA target (host/device,
etc) for implicit members (constructors, etc.) incorrectly. This causes errors
and even assertions in Clang when compiling code (assertions in C++11 mode where
implicit move constructors are added into the mix).

Fix the problem by inferring the target from the methods the implicit member
should call (depending on its base classes and fields).

llvm-svn: 218624
2014-09-29 20:38:29 +00:00
..
Inputs Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
config-type.cu
function-target.cu Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
implicit-member-target-collision-cxx11.cu CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
implicit-member-target-collision.cu CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
implicit-member-target.cu CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
kernel-call.cu Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
launch_bounds.cu Automate attribute argument count semantic checking when there are variadic or optional arguments present. With this, the only time you should have to manually check attribute argument counts is when HasCustomParsing is set to true, or when you have variadic arguments that aren't really variadic (like ownership_holds and friends). 2014-07-31 16:37:04 +00:00
lit.local.cfg
method-target.cu Fix PR20886 - enforce CUDA target match in method calls 2014-09-25 23:59:08 +00:00
qualifiers.cu Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00