forked from OSchip/llvm-project
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
|
||
|---|---|---|
| .. | ||
| Inputs | ||
| amdgpu-num-gpr-attr.cu | ||
| config-type.cu | ||
| function-target.cu | ||
| implicit-copy.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 | ||
| lit.local.cfg | ||
| method-target.cu | ||
| qualifiers.cu | ||