[clang] [Clang] make most enums trivially equality comparable (PR #169079)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 7 08:49:32 PST 2026
================
@@ -507,6 +507,41 @@ static bool HasNoThrowOperator(CXXRecordDecl *RD, OverloadedOperatorKind Op,
return false;
}
+static bool EqualityComparisonIsDefaulted(Sema &S, const TagDecl *Decl,
----------------
tbaederr wrote:
Yes, the code base is terribly inconsistent about this. But camelCase is the currently correct style. This is the only function you're introducing, so I'd leave the others alone.
https://github.com/llvm/llvm-project/pull/169079
More information about the cfe-commits
mailing list