HomePhabricator

List implicit operator== after implicit destructors in a vtable.

Authored by rsmith on Jan 21 2020, 3:52 PM.

Description

List implicit operator== after implicit destructors in a vtable.

Summary:
We previously listed first declared members, then implicit operator=,
then implicit operator==, then implicit destructors. Per discussion on
https://github.com/itanium-cxx-abi/cxx-abi/issues/88, put the implicit
equality comparison operators at the very end, after all special member
functions.

This reinstates add2b7e44ada46f30715b5c48823a9e9e317e0c3, reverted in
commit 89e43f04ba87a0da6e94863db149669c7536486b, with a fix for 32-bit
targets.

Reviewers: rjmccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72897

Details

Committed
rsmithJan 21 2020, 3:54 PM
Differential Revision
D72897: List implicit operator== after implicit destructors in a vtable.
Parents
rGfa001767f085: Fix typos
Branches
Unknown
Tags
Unknown