[clang] [Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads (PR #93113)

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 12:11:39 PDT 2024


================
@@ -1126,9 +1126,6 @@ class QualType {
   /// Return true if this is a trivially relocatable type.
   bool isTriviallyRelocatableType(const ASTContext &Context) const;
 
-  /// Return true if this is a trivially equality comparable type.
-  bool isTriviallyEqualityComparableType(const ASTContext &Context) const;
----------------
philnik777 wrote:

Hmm. I'm not sure the is much use to "this is definitely not trivially equality comparable". Right now I think I'd rather just keep it in `SemaExprCXX`. If there comes up a use-case or we want to save some of the information we can still move some info into `Type`.

https://github.com/llvm/llvm-project/pull/93113


More information about the cfe-commits mailing list