[libcxx-commits] [libcxx] [libc++] Work around new GCC 15 type_traits builtins that can't be used as Clang's can (PR #137871)

Roland McGrath via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 13 11:57:04 PDT 2025


================
@@ -18,7 +18,7 @@
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
-#if __has_builtin(__add_lvalue_reference)
+#if __has_builtin(__add_lvalue_reference) && __GNUC__ < 15
----------------
frobtech wrote:

Done.

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


More information about the libcxx-commits mailing list