[clang] [Clang] make most enums trivially equality comparable (PR #169079)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 7 08:22:30 PST 2026
================
@@ -507,6 +507,41 @@ static bool HasNoThrowOperator(CXXRecordDecl *RD, OverloadedOperatorKind Op,
return false;
}
+static bool EqualityComparisonIsDefaulted(Sema &S, const TagDecl *Decl,
----------------
halbi2 wrote:
@tbaederr: I copied the UpperCase convention from the preceding funtions HasNoThrowOperator, CheckUnaryTypeTraitCompleteness, etc. What should I do about those functions, leave them alone or change them? And should I change my other functions in this pull request too or just this one?
https://github.com/llvm/llvm-project/pull/169079
More information about the cfe-commits
mailing list