forked from OSchip/llvm-project
f041e9ad70
The language wording change forgot to update overload resolution to rank implicit conversion sequences based on qualification conversions in reference bindings. The anticipated resolution for that oversight is implemented here -- we order candidates based on qualification conversion, not only on top-level cv-qualifiers, including ranking reference bindings against non-reference bindings if they differ in non-top-level qualification conversions. For OpenCL/C++, this allows reference binding between pointers with differing (nested) address spaces. This makes the behavior of reference binding consistent with that of implicit pointer conversions, as is the purpose of this change, but that pre-existing behavior for pointer conversions is itself probably not correct. In any case, it's now consistently the same behavior and implemented in only one place. This reinstates commit |
||
---|---|---|
.. | ||
dr0xx.cpp | ||
dr1xx.cpp | ||
dr2xx.cpp | ||
dr3xx.cpp | ||
dr4xx.cpp | ||
dr5xx.cpp | ||
dr6xx.cpp | ||
dr7xx.cpp | ||
dr9xx.cpp | ||
dr10xx.cpp | ||
dr11xx.cpp | ||
dr12xx.cpp | ||
dr13xx.cpp | ||
dr14xx.cpp | ||
dr15xx.cpp | ||
dr16xx.cpp | ||
dr17xx.cpp | ||
dr18xx.cpp | ||
dr19xx.cpp | ||
dr20xx.cpp | ||
dr21xx.cpp | ||
dr22xx.cpp | ||
dr23xx.cpp | ||
dr118.cpp | ||
dr158.cpp | ||
dr412.cpp | ||
dr1748.cpp |