diff options
| author | David Blaikie <dblaikie@gmail.com> | 2019-12-27 12:17:01 -0800 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2019-12-27 12:27:20 -0800 |
| commit | d8018233d1ea4234de68d5b4593abd773db79484 (patch) | |
| tree | 875fe6e8d822c1e8ffea309bbffebe4661315712 /clang/www | |
| parent | c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758 (diff) | |
| download | bcm5719-llvm-d8018233d1ea4234de68d5b4593abd773db79484.tar.gz bcm5719-llvm-d8018233d1ea4234de68d5b4593abd773db79484.zip | |
Revert "CWG2352: Allow qualification conversions during reference binding."
This reverts commit de21704ba96fa80d3e9402f12c6505917a3885f4.
Regressed/causes this to error due to ambiguity:
void f(const int * const &);
void f(int *);
int main() {
int * x;
f(x);
}
(in case it's important - the original case where this turned up was a
member function overload in a class template with, essentially:
f(const T1&)
f(T2*)
(where T1 == X const *, T2 == X))
It's not super clear to me if this ^ is expected behavior, in which case
I'm sorry about the revert & happy to look into ways to fix the original
code.
Diffstat (limited to 'clang/www')
| -rwxr-xr-x | clang/www/cxx_dr_status.html | 4 | ||||
| -rwxr-xr-x | clang/www/make_cxx_dr_status | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index c4ec4573652..23a7218e897 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -2645,7 +2645,7 @@ of class templates</td> <td><a href="https://wg21.link/cwg434">434</a></td> <td>NAD</td> <td>Unclear suppression of standard conversions while binding reference to lvalue</td> - <td class="svn" align="center">Superseded by <a href="#2352">2352</a></td> + <td class="full" align="center">Yes</td> </tr> <tr id="435"> <td><a href="https://wg21.link/cwg435">435</a></td> @@ -13927,7 +13927,7 @@ and <I>POD class</I></td> <td><a href="https://wg21.link/cwg2352">2352</a></td> <td>DR</td> <td>Similar types and reference binding</td> - <td class="svn" align="center">SVN</td> + <td class="none" align="center">Unknown</td> </tr> <tr id="2353"> <td><a href="https://wg21.link/cwg2353">2353</a></td> diff --git a/clang/www/make_cxx_dr_status b/clang/www/make_cxx_dr_status index fd5eb7fbabb..4351d659e41 100755 --- a/clang/www/make_cxx_dr_status +++ b/clang/www/make_cxx_dr_status @@ -28,7 +28,7 @@ def parse(dr): _, url, issue = issue_link.split('"', 2) url = url.strip() issue = int(issue.split('>', 1)[1].split('<', 1)[0]) - title = title.replace('<issue_title>', '').replace('</issue_title>', '').replace('\r\n', '\n').strip() + title = title.replace('<issue_title>', '').replace('</issue_title>', '').strip() return DR(section, issue, url, status, title) status_re = re.compile(r'\bdr([0-9]+): (.*)') @@ -171,7 +171,7 @@ for dr in drs: print >> out_file, '''\ <tr%s id="%s"> - <td><a href="https://wg21.link/cwg%s">%s</a></td> + <td><a href="http://wg21.link/cwg%s">%s</a></td> <td>%s</td> <td>%s</td> <td%s align="center">%s</td> |

