[clang] [Clang] Improve type traits recognition in `__has_builtin` (PR #111516)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 06:55:05 PDT 2024


================
@@ -31,7 +31,10 @@
     !__has_builtin(__underlying_type) || \
     !__has_builtin(__is_trivial) || \
     !__has_builtin(__is_same_as) || \
-    !__has_builtin(__has_unique_object_representations)
+    !__has_builtin(__has_unique_object_representations) || \
+    !__has_builtin(__is_trivially_equality_comparable) || \
+    !__has_builtin(__reference_constructs_from_temporary) || \
----------------
timsong-cpp wrote:

`__reference_converts_from_temporary` too?

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


More information about the cfe-commits mailing list