From nobody Sun Dec 01 12:54:06 2024 X-Original-To: dev-commits-src-all@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 4Y1Rgf5LbHz5fb0w; Sun, 01 Dec 2024 12:54:06 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1Rgf42n4z4NrT; Sun, 1 Dec 2024 12:54:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733057646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VfG+aPOEKgW5xAZs+YLW09YqZ0ZiAkp10Q1f9fnLY+8=; b=SpJe3WFMcdK6MJel6xl4s51UN4xvo6JKPNYA99OtjUeHON8b7Ap+ZueQL8CifCNveYl/24 8q9j0VEdif7WSsIXcPJEeaxJNl245r9mpkg3huAtMfP28hHQegxWvAyBvQkFR1f0P7Ay3s EEPCbfifZGrDB9uS3Cw8dv6WZPHIOJuy0BCdB0Bcua1AScYIoH4Fmp2BvJeB5bFZDy26IK JGMpV/L5fVfOECBmAtrQnrfN5IcwaU1c7/5KukDAkl1HEDvPT3ntGInEEE3WPKyfQzrgPE D9fWykDVE2SJbS9vJuaIbtd6129kMimuNpj4lq9njmq6SG7BOcFPvv+eOpOWCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733057646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VfG+aPOEKgW5xAZs+YLW09YqZ0ZiAkp10Q1f9fnLY+8=; b=WrseL+e7gZA+hRte9FQJd9Pq0sZv1h/At9mbelsv0ER5ZyQRjtHC+AV5WUquVdbtQ0/4wK ZAReovcXqdoK9d+6MRthZcv094FWAD1CaZZgpfAl6EyfTBI6rviELNfGpWIzmTds/YD83F +lQkFt6yd9l6wuWHWBKtniaPJhKSbBFcsykXJ9NkLprSAcHLDXatt0NfsOfMZ/0Xl6Q/ko cj3NSzbeeEgpgNThzvPS2Knl9Vi4w3r6DqQQOKY9s2hTdAN73nKa6XpYECZvnJCRtBVGmw 2XCrRnMg7TLbmmoVCFWStzF+DXAOTroqJY/93/oxQQQXTMiiUMOcPIL+l7h/Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733057646; a=rsa-sha256; cv=none; b=kXBs6mO58/SyN0ca1RFhZ+biNxLhgpzotxd9U7y8YFuTxFXBOYvI1zw+j3gRVMGzS2/uw5 77qNeU8QD7vnBwpkxzWyA2IP35EdTIcLo+qoTy1V2g3vQWUxSw8EKahvViUXpZs2wVgdga 53tWuURjRZhOxcEsUAgHdvcW5ahJqIvWz3Jo1MwqQf5xNCc2GciL1rplYOGleZWPKMWYqs qQz669LPhgsnQmkrSgdl0LUakOn6BkTvuARqQbqTczXingYeIApjW0Y3g5RDG7fBYalRzY 2HYQhmfpB1cR+Q8FC+2Ksa+buXuzLlS2ib1pfu0Tw8PNjKbbr360bHZqw15qHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y1Rgf3bBXztKt; Sun, 1 Dec 2024 12:54:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B1Cs6Ca093415; Sun, 1 Dec 2024 12:54:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B1Cs6IO093412; Sun, 1 Dec 2024 12:54:06 GMT (envelope-from git) Date: Sun, 1 Dec 2024 12:54:06 GMT Message-Id: <202412011254.4B1Cs6IO093412@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 6a42a876ddcf - stable/13 - libcxx atomic_ref.h: add typename keyword for difference_type declarations, otherwise older clang versions cannot compile this header. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6a42a876ddcf7e86fd756e85d5d0fcae53921007 Auto-Submitted: auto-generated The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=6a42a876ddcf7e86fd756e85d5d0fcae53921007 commit 6a42a876ddcf7e86fd756e85d5d0fcae53921007 Author: Dimitry Andric AuthorDate: 2024-08-05 20:07:28 +0000 Commit: Dimitry Andric CommitDate: 2024-12-01 12:32:38 +0000 libcxx atomic_ref.h: add typename keyword for difference_type declarations, otherwise older clang versions cannot compile this header. PR: 280562 MFC after: 1 month (cherry picked from commit 81e300df5e654eee3835ec2c6a2ae34cf317df72) --- contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h b/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h index 156f1961151c..f5ab6ffc9e77 100644 --- a/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h +++ b/contrib/llvm-project/libcxx/include/__atomic/atomic_ref.h @@ -241,7 +241,7 @@ template struct atomic_ref<_Tp> : public __atomic_ref_base<_Tp> { using __base = __atomic_ref_base<_Tp>; - using difference_type = __base::value_type; + using difference_type = typename __base::value_type; _LIBCPP_HIDE_FROM_ABI explicit atomic_ref(_Tp& __obj) : __base(__obj) { _LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN( @@ -287,7 +287,7 @@ template struct atomic_ref<_Tp> : public __atomic_ref_base<_Tp> { using __base = __atomic_ref_base<_Tp>; - using difference_type = __base::value_type; + using difference_type = typename __base::value_type; _LIBCPP_HIDE_FROM_ABI explicit atomic_ref(_Tp& __obj) : __base(__obj) { _LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN(