forked from OSchip/llvm-project
b102e6880a
This fixes the prioritization of address spaces when choosing a constructor, stopping them from being considered equally good, which made the construction of types that could be constructed by more than one of the constructors. It does this by preferring the most specific address space, which is decided by seeing if one of the address spaces is a superset of the other, and preferring the other. Fixes: PR50329 Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D102850 |
||
---|---|---|
.. | ||
address-space-castoperators.cpp | ||
address-space-deduction.clcpp | ||
address-space-deduction2.clcpp | ||
addrspace-constructors.clcpp | ||
addrspace-conversion.clcpp | ||
addrspace-derived-base.clcpp | ||
addrspace-new-delete.clcpp | ||
addrspace-of-this.clcpp | ||
addrspace-operators.clcpp | ||
addrspace-references.clcpp | ||
addrspace-with-class.clcpp | ||
addrspace_cast.clcpp | ||
atexit.clcpp | ||
constexpr.clcpp | ||
global_init.clcpp | ||
local_addrspace_init.clcpp | ||
method-overload-address-space.clcpp | ||
reinterpret_cast.clcpp | ||
template-address-spaces.clcpp |