[PATCH] D147175: [clang] Add __is_trivially_equality_comparable

Nikolas Klauser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 8 06:42:05 PDT 2023


philnik marked an inline comment as done.
philnik added inline comments.


================
Comment at: libcxx/include/__type_traits/is_equality_comparable.h:46
 template <class _Tp, class _Up>
-struct __is_trivially_equality_comparable
+struct __libcpp_is_trivially_equality_comparable
     : integral_constant<bool,
----------------
Mordante wrote:
> This does not magically use the builtin right? Does the patch miss that parts that use the builtin or is that a followup? If it's a followup I would prefer move the libc++ code changes of this patch to a separate review.
No, it doesn't magically use the builtin. I plan to do that in a follow-up. These changes are required though, since clang grabs the name with this patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147175/new/

https://reviews.llvm.org/D147175



More information about the cfe-commits mailing list