[all-commits] [llvm/llvm-project] 5b3634: [Clang] Fix __is_trivially_equality_comparable ret...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Jun 27 14:32:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b363483cf2461617fbb2449491c9914811c8d53
      https://github.com/llvm/llvm-project/commit/5b363483cf2461617fbb2449491c9914811c8d53
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  [Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads (#93113)

This changes `__is_trivially_equality_comparable` to do overload
resolution instead, which fixes a couple of false-positives (and a
false-negative as a drive-by).

Fixes #89293



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list