From nobody Thu Jan 8 17:15:26 2026 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 4dnBPB3wKWz6GWfC for ; Thu, 08 Jan 2026 17:15:26 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dnBPB2rHlz3kpb for ; Thu, 08 Jan 2026 17:15:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767892526; 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=v4BgHDRKrS8DIdO7348jtkR63R4J3nmrQjfriqRk0aA=; b=vvnZGmS9LCLdaP9EZWjJsvN2wbf5BlFDai2NfG70MBRRkghFLEnF08qcXqdCn7CgyLNQM2 NDf3QIZgdZrjSqBwPPA6nCsKbElnfJ87VIKZJBlJ9wHQUo5CvCHEazsjf8vJVJ7kEjGwcp nGsDs474d+T9MVDhOSSxapJwa+DVYvA9S+mjJrtV2tsGaJ5FACbCdt/00/DlGluA9THK1U 3UrBYiE20YubTDiEvy4tF4a2ZrYrGx+wugv0LNOcpLo6+f4wLgEjvsBADe6eMrivQbhJvJ u8dS/S/dwALMXuONn6MWRrHJ0DLLUOPBwsOpouBb5JyDNO8lLnzniadjO1xYmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767892526; 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=v4BgHDRKrS8DIdO7348jtkR63R4J3nmrQjfriqRk0aA=; b=crYeEA9RKWUeZDXlU73D4jeBuGPL15cJBxRRJm+A+0HlvIQiqrCagLDJQQbmY43X45Od00 E43ihPjW8uRJXj2QMw6qMi3tQB3fl5Y1qvmrIVyTMzZ8hfGb7Ww/ttlJ4OzD0K9Hbz+26B Oi81eth3lT2Uqt+ustWGOudqTFDmi6v/upT0EDpMGLlldoTBbkbVQeraOg/AUOKGMy+0AV 5xDE/uzBG7OHLiZ0H2Foe8p0tnWBPbFiJDgYqX/rPAsw2x7P1ORr6ySNikE4tKScJzBFA5 UNeg5QlIdKBbLaiKBJzAs3CJBzx1fYd/0s3MunacWD+EFYmAe5t4KjPewbN1Zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767892526; a=rsa-sha256; cv=none; b=lBf2twbqiChd+5SG3jrj+Uyv+zW8QlltR8RgzlDJLX+nqGq2HL9+NFkrGUpMZJhq0cdP16 E5L/uOxKlgNSkk2K2Gxp4hiEQg7rkRrOBqVVE2FwRHAyUPo+VphDfaQrn+AZch3YrYnVC8 afZbcUqX64wbPE3xxbSC+fhxmcZ/mrWRJyEMmiSN6RM0QuXDF/5Nrw9n7ijWfYttSXL6XW QnHIMeTVDnIHY97q1o0WQ9AcYVFJ3Db7u/CItxrDUGEypAxf4adxslbBiAAOYJdgyGsq/L n1VuJUPCgLFS9MsTSQc7yt8TgX5tuGWZ3RSGzB4P0nCf52e6FHPeOBe5hi2cXg== 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 4dnBPB2PpsznbY for ; Thu, 08 Jan 2026 17:15:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 30a2a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 08 Jan 2026 17:15:26 +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: 21f206bb330f - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 21f206bb330f769afb82d7b6e8f3762478ee74b3 Auto-Submitted: auto-generated Date: Thu, 08 Jan 2026 17:15:26 +0000 Message-Id: <695fe62e.30a2a.2b6c0533@gitrepo.freebsd.org> The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=21f206bb330f769afb82d7b6e8f3762478ee74b3 commit 21f206bb330f769afb82d7b6e8f3762478ee74b3 Author: Alex Richardson AuthorDate: 2025-09-15 22:11:39 +0000 Commit: Ed Maste CommitDate: 2026-01-08 17:14:05 +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) (cherry picked from commit e487653fe43434768b533b1d7f360ec448c05b4c) --- 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;