diff options
author | Jason Merrill <jason@redhat.com> | 2019-11-07 12:06:09 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-11-07 12:06:09 -0500 |
commit | 4629ea55608ee2f1e04186dce2c7f55af0537ccb (patch) | |
tree | 346c49fc402d4acd850ead528e3511d706db7946 /gcc/tree.c | |
parent | c38ee9a2e87ea6d23580c364b3997acfce4a125c (diff) | |
download | gcc-4629ea55608ee2f1e04186dce2c7f55af0537ccb.zip gcc-4629ea55608ee2f1e04186dce2c7f55af0537ccb.tar.gz gcc-4629ea55608ee2f1e04186dce2c7f55af0537ccb.tar.bz2 |
Implement D1959R0, remove weak_equality and strong_equality.
Shortly after I finished implementing the previous semantics, the
committee decided to remove the *_equality comparison categories, because
they were largely obsoleted by the earlier change that separated operator==
from its original dependency on operator<=>.
gcc/cp/
* method.c (enum comp_cat_tag, comp_cat_info): Remove *_equality.
(genericize_spaceship, common_comparison_type): Likewise.
* typeck.c (cp_build_binary_op): Move SPACESHIP_EXPR to be with the
relational operators, exclude other types no longer supported.
libstdc++-v3/
* libsupc++/compare: Remove strong_equality and weak_equality.
From-SVN: r277925
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions