aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2014-12-16 20:12:38 +0000
committerJacques Pienaar <jpienaar@google.com>2014-12-16 20:12:38 +0000
commit5bdd67778f63b23d055324f9adc45b85a8cfb8c5 (patch)
treea93aa3d46d22b4eacbe7055693d5c90981c4f4e6 /clang/lib/Frontend/CompilerInvocation.cpp
parent545e7276a870c60d4d289b72b38e1529dae2acd7 (diff)
downloadllvm-5bdd67778f63b23d055324f9adc45b85a8cfb8c5.zip
llvm-5bdd67778f63b23d055324f9adc45b85a8cfb8c5.tar.gz
llvm-5bdd67778f63b23d055324f9adc45b85a8cfb8c5.tar.bz2
Consider calls from implict host device functions as valid in SemaCUDA.
In SemaCUDA all implicit functions were considered host device, this led to errors such as the following code snippet failing to compile: struct Copyable { const Copyable& operator=(const Copyable& x) { return *this; } }; struct Simple { Copyable b; }; void foo() { Simple a, b; a = b; } Above the implicit copy assignment operator was inferred as host device but there was only a host assignment copy defined which is an error in device compilation mode. Differential Revision: http://reviews.llvm.org/D6565 llvm-svn: 224358
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions