From nobody Mon Dec 15 15:03:02 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dVNbW1FN9z6KrHR for ; Mon, 15 Dec 2025 15:03:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dVNbV5mTkz3VT3 for ; Mon, 15 Dec 2025 15:03:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765810982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iIIyrRKmZKrFQ9GWGlzO8r1s30qc8CaOe/WFIT1uRcU=; b=xEPWDXJnm1lf83bRmw0c8aEHmGt+Cd/VfivHVrO0Gm90rgPwWel7HhWdDBuZs3QDZp8kyI Jm8PzAH3HpR7TJZ7GyixuVVrRc4qFNpD1KgqJ8/fIs5yA5yyW5hM8Skjx1SceUSYCfXWEQ exYbn0WbubvmqRG8hGYLiOICyZb5tTJLxmAbb0wqRAkNjyeJ1cDOGUrFBdPmLkja7ZOD9F qErY+7wQuM2asyJAZaYw/FDZ4pwOJhdd4/jRfPnLp6v01NlRqhtXnZSafgooTv6aw1CTfN AfWYGMSG0DWoI0J1akCdceoJo/XIvfhU0QB1DJwRCKedD04jUV9q+VGKU3e8HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765810982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iIIyrRKmZKrFQ9GWGlzO8r1s30qc8CaOe/WFIT1uRcU=; b=S1pLB95x/Qu/cyXxWtYUEAuEW3NR5oHselG/4N11D0mDGgmKeF7Oak4recEKHkvpymsap1 QkBKwPrgI9U9IszUQmiSwwUdoC1O13F/0fuVF+eotW9UOdKbe28hR6oBF9QOP/6x2k+bOb sTQkvShzFQHN15ynWs0W9NbgGr1i6LXufChhqyIDmSTOrM5GMq/Ueivlt7A3ldM2Ohcd77 GOsQ8/KqPfr/kifddMyzo1SnKc/hCqGuxxShQTrAbDzJ9ZighUxsOscbqoU15PBuKfKaUM rZkiyoN1YQXv+voZUmwJxwJpMeVM7u8N75Qu8GsvS+ir3zk4+z4bC/Ae9yWPog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765810982; a=rsa-sha256; cv=none; b=TJVvzxfsenehRuK7rXJo2y9Xg+B6LH1znT08IbPC49LB72NZ3YrkwXxuM6qVv1dBoLdViF ImII6vcRQnsD82LQGjyLh42AnNPNYb7+a2lmdvVpSA0VZ7jDs8bE8ZKqQu74KaR3bx4hgw ko00j03ONVZQHmtpWBdSAkA3KTBYJDEjFEfplE9QPe+pUW7CV5wdUgMAHSWV7nobxC4M68 AswqbtXA39E8u1xqjPgIoOIR+lLqh4GVRPrro7LqptKdQ3I6totVY7s/qNC9U4Zb6Kf4kQ Gpg6Yvi3+SY5pTYumc/jp2XirIIGGmVcb593hWHUui6fFzS+y6Dg4ojia9FoRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dVNbV5K9pz8lY for ; Mon, 15 Dec 2025 15:03:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3a32c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 15 Dec 2025 15:03:02 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Alex Richardson From: Ed Maste Subject: git: e487653fe434 - stable/15 - libc++: avoid use of deprecated __reference_binds_to_temporary List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: e487653fe43434768b533b1d7f360ec448c05b4c Auto-Submitted: auto-generated Date: Mon, 15 Dec 2025 15:03:02 +0000 Message-Id: <69402326.3a32c.7fa3bfe1@gitrepo.freebsd.org> The branch stable/15 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=e487653fe43434768b533b1d7f360ec448c05b4c commit e487653fe43434768b533b1d7f360ec448c05b4c Author: Alex Richardson AuthorDate: 2025-09-15 22:11:39 +0000 Commit: Ed Maste CommitDate: 2025-12-15 15:02:09 +0000 libc++: avoid use of deprecated __reference_binds_to_temporary This was removed in upstream libc++ in commit 437ad06f762ab07d89badecdd20627db200b98d3, but as this does not apply cleanly to the current repository, I am applying the equivalent change in a minimally invasive way. This is needed to build with latest clang HEAD as of today. Reviewed by: dim MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D52530 (cherry picked from commit dee76cf2f3dace6290ccab07c2db17355994e70f) --- contrib/llvm-project/libcxx/include/tuple | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/llvm-project/libcxx/include/tuple b/contrib/llvm-project/libcxx/include/tuple index 081b90c7bbec..1d39974d5a6b 100644 --- a/contrib/llvm-project/libcxx/include/tuple +++ b/contrib/llvm-project/libcxx/include/tuple @@ -302,7 +302,9 @@ class __tuple_leaf { template static _LIBCPP_HIDE_FROM_ABI constexpr bool __can_bind_reference() { -# if __has_keyword(__reference_binds_to_temporary) +# if __has_keyword(__reference_constructs_from_temporary) + return !__reference_constructs_from_temporary(_Hp, _Tp); +# elif __has_keyword(__reference_binds_to_temporary) return !__reference_binds_to_temporary(_Hp, _Tp); # else return true;