[PATCH] D151623: [clang] Extend __is_trivially_equality_comparable to check for hidden friends
Nikolas Klauser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 27 18:30:08 PDT 2023
philnik created this revision.
philnik added reviewers: aaron.ballman, erichkeane.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This allows types to be considered trivially equality comparable if a defaulted hidden friend is used.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151623
Files:
clang/lib/AST/Type.cpp
clang/test/SemaCXX/type-traits.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151623.526301.patch
Type: text/x-patch
Size: 9198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230528/f6d134e3/attachment-0001.bin>
More information about the cfe-commits
mailing list