[all-commits] [llvm/llvm-project] 0e4c4c: [clang] Extend __is_trivially_equality_comparable ...

philnik777 via All-commits all-commits at lists.llvm.org
Tue May 30 08:33:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e4c4c77730810db235d377d49ba5860dfa0bd8d
      https://github.com/llvm/llvm-project/commit/0e4c4c77730810db235d377d49ba5860dfa0bd8d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M clang/lib/AST/Type.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  [clang] Extend __is_trivially_equality_comparable to check for hidden friends

This allows types to be considered trivially equality comparable if a defaulted hidden friend is used.

Reviewed By: erichkeane

Spies: cfe-commits

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




More information about the All-commits mailing list