llvm-project/clang/www
Richard Smith f041e9ad70 CWG2352: Allow qualification conversions during reference binding.
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 de21704ba9,
reverted in commit d8018233d1, with
workarounds for some overload resolution ordering problems introduced by
CWG2352.
2020-01-09 18:24:06 -08:00
..
analyzer [analyzer] Add a syntactic security check for ObjC NSCoder API. 2019-12-19 14:54:29 -08:00
demo [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
OpenProjects.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
UniversalDriver.html [www] More HTTPS and outdated link fixes. 2019-11-08 14:41:27 -08:00
builtins.py Portable Python script across Python version 2018-12-18 16:04:21 +00:00
carbon-compile.png
clang_video-05-25-2007.html redirecting to llvm.org/devmtg 2018-09-19 18:39:15 +00:00
clang_video-07-25-2007.html redirecting to llvm.org/devmtg 2018-09-19 18:39:15 +00:00
comparison.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
compatibility.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
content.css
cxx_compatibility.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
cxx_dr_status.html CWG2352: Allow qualification conversions during reference binding. 2020-01-09 18:24:06 -08:00
cxx_status.html Implement latest C++ feature test macro recommendations. 2019-12-19 12:59:13 -08:00
diagnostics.html [clang][www] Fix typo. NFC 2018-09-29 09:45:21 +00:00
favicon.ico
feature-compile1.png
feature-compile2.png
feature-memory1.png
features.html features.html: Remove some old info 2019-12-21 10:52:39 +01:00
get_involved.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
get_started.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
hacking.html Remove outdated svn/git information from hacking page 2020-01-03 14:13:40 -05:00
index.html clang is now under the apache2 license 2019-12-21 10:52:30 +01:00
libstdc++4.4-clang0x.patch
libstdc++4.6-clang11.patch
libstdc++4.7-clang11.patch
make_cxx_dr_status CWG2352: Allow qualification conversions during reference binding. 2020-01-09 18:24:06 -08:00
menu.css
menu.html.incl Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
related.html [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
robots.txt