[all-commits] [llvm/llvm-project] add2b7: List implicit operator== after implicit destructor...

Richard Smith via All-commits all-commits at lists.llvm.org
Sun Jan 19 18:32:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: add2b7e44ada46f30715b5c48823a9e9e317e0c3
      https://github.com/llvm/llvm-project/commit/add2b7e44ada46f30715b5c48823a9e9e317e0c3
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M clang/lib/AST/VTableBuilder.cpp
    A clang/test/CodeGenCXX/virtual-compare.cpp

  Log Message:
  -----------
  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.

Reviewers: rjmccall

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list