forked from OSchip/llvm-project
0c65993be1
When deducing a reference type for forwarding references prevent adding default address space of a template argument if it is given. This got reported in PR48896 because in OpenCL all parameters are in private address space and therefore when we initialize a forwarding reference with a parameter we should just inherit the address space from it i.e. keep __private instead of __generic. Tags: #clang Differential Revision: https://reviews.llvm.org/D95624 |
||
---|---|---|
.. | ||
address-space-castoperators.cl | ||
address-space-cond.cl | ||
address-space-deduction.cl | ||
address-space-lambda.cl | ||
address-space-of-this-class-scope.cl | ||
address-space-of-this.cl | ||
address-space-references.cl | ||
address-space-templates.cl | ||
address_space_overloading.cl | ||
addrspace-auto.cl | ||
addrspace_cast.cl | ||
addrspace_cast_ast_dump.cl | ||
invalid-kernel.cl | ||
members.cl | ||
method-overload-address-space.cl | ||
newdelete.cl | ||
private-access-specifier.cpp | ||
references.cl | ||
restricted.cl |