forked from OSchip/llvm-project
26e095e84f
When the expression used to initialise 'this' has a pointer type, check the address space of the pointee type instead of the pointer type to decide whether an address space cast is required. It is the pointee type that carries the address space qualifier. Fixing PR41674. Patch by kpet (Kevin Petit)! Differential Revision: https://reviews.llvm.org/D61319 llvm-svn: 359798 |
||
---|---|---|
.. | ||
address-space-castoperators.cpp | ||
address-space-deduction.cl | ||
address-space-deduction2.cl | ||
addrspace-derived-base.cl | ||
addrspace-of-this.cl | ||
addrspace-operators.cl | ||
addrspace-references.cl | ||
local_addrspace_init.cl | ||
method-overload-address-space.cl | ||
template-address-spaces.cl |