aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-09-29 20:38:29 +0000
committerEli Bendersky <eliben@google.com>2014-09-29 20:38:29 +0000
commit9a220fca4a6f01f1d3363b3cb53f4f2fa77851c4 (patch)
treed594e32455bec01c965be807a30f8524fad38825 /llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp
parent52c0f6adb667a6095270466254c52a1fd8af7026 (diff)
downloadllvm-9a220fca4a6f01f1d3363b3cb53f4f2fa77851c4.zip
llvm-9a220fca4a6f01f1d3363b3cb53f4f2fa77851c4.tar.gz
llvm-9a220fca4a6f01f1d3363b3cb53f4f2fa77851c4.tar.bz2
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
Diffstat (limited to 'llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp')
0 files changed, 0 insertions, 0 deletions