llvm-project/clang/test/CodeGenOpenCLCXX
Anastasia Stulova c25ea86d43 [Sema] Diagnose addr space mismatch while constructing objects
If we construct an object in some arbitrary non-default addr space
it should fail unless either:
- There is an implicit conversion from the address space to default
/generic address space.
- There is a matching ctor qualified with an address space that is
either exactly matching or convertible to the address space of an
object.

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

llvm-svn: 363944
2019-06-20 16:23:28 +00:00
..
address-space-castoperators.cpp [Sema] Change addr space diagnostics in casts to follow C++ style. 2019-03-07 17:06:30 +00:00
address-space-deduction.cl
address-space-deduction2.cl [OpenCL] Fix for TBAA information of pointer after addresspacecast 2018-12-12 09:51:23 +00:00
addrspace-conversion.cl [PR41567][Sema] Fixed cast kind in addr space conversions 2019-06-03 15:42:36 +00:00
addrspace-ctor.cl [Sema] Diagnose addr space mismatch while constructing objects 2019-06-20 16:23:28 +00:00
addrspace-derived-base.cl [PR40778] Preserve addr space in Derived to Base cast. 2019-03-07 16:23:15 +00:00
addrspace-of-this.cl [OpenCL] Switched CXX mode to be derived from C++17 2019-05-09 11:55:24 +00:00
addrspace-operators.cl [Sema] Adjust addr space of reference operand in compound assignment 2019-03-19 16:50:21 +00:00
addrspace-references.cl Introduce Value::stripPointerCastsSameRepresentation 2019-06-04 20:21:46 +00:00
global_init.cl [OpenCL] Make global ctor init function a kernel 2019-05-09 13:55:44 +00:00
local_addrspace_init.cl [OpenCL] Prevent mangling kernel functions. 2019-05-07 14:22:34 +00:00
method-overload-address-space.cl [OpenCL] Allow address spaces as method qualifiers. 2019-01-21 16:01:38 +00:00
template-address-spaces.cl [OpenCL] Add generic AS to 'this' pointer 2018-12-13 10:15:27 +00:00