From nobody Fri May 29 23:03:45 2026 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 4gRzS2487Vz6gFbk for ; Fri, 29 May 2026 23:03:46 +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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gRzS20RGLz3GPH for ; Fri, 29 May 2026 23:03:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095826; 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=IxGYR6QauW/bmPwcXl+T523XyqRfmVQl5aAPpFFTqsY=; b=GYDaj7Wj7ZERiyNZmtdI4Vvjoo7E69g3ElKB7aD6+ZzXsVtYUrcqLDvE7VDM2z96gVf1SH XpxzuXs/4KoCLFd7qoIq8lYy3klApHny2uIxb7ouBkS2icEuENvIboteRi0X/kmol9Se4d OGeDITgoKoo8jxt+2fd2VveU6ruYI+faggSctejfV/QMUqkIceO+O0db/sqdWKS3ywNVr0 uI20C5Y4o2qiX46TI0xGHy1swAt9YBOVgDT9vkIl/Nl5dMDrnvdKG9E/+one72l6scHAW9 LvopTZv3lDLtnrwTdk+cGfYWwY7/2SL46qm+m/MkbgfBe8+oD9q1IVQjMKe8Cw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780095826; a=rsa-sha256; cv=none; b=Mym8WDInwTL3LyezZsr+Q+qY0G8M685k8LFDF9MKezAt2G5JLC2GTjS0vo/83EJCHgteoG NzZxUVksq5+WVQ3+dOZBd2GVmLvaUp8uaIZIVbIAEvU/RmiRkLtwC6OriXEeZID+20n7EO PxYO1CxwBqNQmMKmDxQNXd1oC8CAZTOqXZzL4VPzbNkWDXYFmtrNqw12fU7EqmysTO1lvi 27Bcj2M2ZWCJrWzUVreYW8imHSV7VeQ438V+SEFn9Wvd6mS6882eSnb2VkteiOV46krTE4 I2yR9BFPL70JXwTmWWZKb2lE4k8IwAowSUp48bzEq2wy0uKzf0yU+4tCgwclgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095826; 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=IxGYR6QauW/bmPwcXl+T523XyqRfmVQl5aAPpFFTqsY=; b=Hk7EaBCplE2Scab4NS2CUvGTJFmjQgbBhP7ZyLDIF+u6B61HnY6MJH4CSQOV7NJ3g+/n1n 8ZdEqGtDnbs8b7rcoMmOoaBTjqOyK4pY8QrmhfXYCEmjD7+rHodXJe6Rgtqb9A4X+Tm8/x UzahrtULmRbUQbX9m/qiOLpVPb0SfDoXv6P/pYLpQ43PAp+w5TtkOXulYilLxUfPGgq551 tuMshaCbYC/ZRvpq4d/Otmc1XXdO5aHSSBNLyYu3BA5OwGN0oBJFFUYDzxT2k/0d5ghjg3 KLMF6uDeBvP1E4HEPgEPJQ+Tvb+PCHrnDwuZi6QH+jCrKiOSISCevC3JJ4C8Tg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gRzS16xx6ztsg for ; Fri, 29 May 2026 23:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4193f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 29 May 2026 23:03:45 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 0546474c350b - stable/14 - Revert "libcxx-compat: revert llvmorg-19-init-18062-g4dfa75c663e5:" 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/14 X-Git-Reftype: branch X-Git-Commit: 0546474c350b68b3886994ba4c9e31d835e3e61c Auto-Submitted: auto-generated Date: Fri, 29 May 2026 23:03:45 +0000 Message-Id: <6a1a1b51.4193f.531650a2@gitrepo.freebsd.org> The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=0546474c350b68b3886994ba4c9e31d835e3e61c commit 0546474c350b68b3886994ba4c9e31d835e3e61c Author: Dimitry Andric AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18062-g4dfa75c663e5:" This reverts commit 6933315cf57fc3f505431bff7a0075df471d7453, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit f3b0cac70b80116e691ad1e6daa5110186233206) --- .../libcxx/include/__type_traits/is_enum.h | 10 +++++++ .../libcxx/include/__type_traits/is_scoped_enum.h | 33 ---------------------- .../llvm-project/libcxx/include/module.modulemap | 1 - contrib/llvm-project/libcxx/include/type_traits | 4 --- 4 files changed, 10 insertions(+), 38 deletions(-) diff --git a/contrib/llvm-project/libcxx/include/__type_traits/is_enum.h b/contrib/llvm-project/libcxx/include/__type_traits/is_enum.h index 77ca3ea10874..2fab6db2c8d5 100644 --- a/contrib/llvm-project/libcxx/include/__type_traits/is_enum.h +++ b/contrib/llvm-project/libcxx/include/__type_traits/is_enum.h @@ -26,6 +26,16 @@ template inline constexpr bool is_enum_v = __is_enum(_Tp); #endif +#if _LIBCPP_STD_VER >= 23 + +template +struct _LIBCPP_TEMPLATE_VIS is_scoped_enum : bool_constant<__is_scoped_enum(_Tp)> {}; + +template +inline constexpr bool is_scoped_enum_v = __is_scoped_enum(_Tp); + +#endif // _LIBCPP_STD_VER >= 23 + _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP___TYPE_TRAITS_IS_ENUM_H diff --git a/contrib/llvm-project/libcxx/include/__type_traits/is_scoped_enum.h b/contrib/llvm-project/libcxx/include/__type_traits/is_scoped_enum.h deleted file mode 100644 index cb3e25cf5733..000000000000 --- a/contrib/llvm-project/libcxx/include/__type_traits/is_scoped_enum.h +++ /dev/null @@ -1,33 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#ifndef _LIBCPP___TYPE_TRAITS_IS_SCOPED_ENUM_H -#define _LIBCPP___TYPE_TRAITS_IS_SCOPED_ENUM_H - -#include <__config> -#include <__type_traits/integral_constant.h> - -#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) -# pragma GCC system_header -#endif - -_LIBCPP_BEGIN_NAMESPACE_STD - -#if _LIBCPP_STD_VER >= 23 - -template -struct _LIBCPP_TEMPLATE_VIS is_scoped_enum : bool_constant<__is_scoped_enum(_Tp)> {}; - -template -inline constexpr bool is_scoped_enum_v = __is_scoped_enum(_Tp); - -#endif // _LIBCPP_STD_VER >= 23 - -_LIBCPP_END_NAMESPACE_STD - -#endif // _LIBCPP___TYPE_TRAITS_IS_SCOPED_ENUM_H diff --git a/contrib/llvm-project/libcxx/include/module.modulemap b/contrib/llvm-project/libcxx/include/module.modulemap index d76659664f75..13d0dce34d97 100644 --- a/contrib/llvm-project/libcxx/include/module.modulemap +++ b/contrib/llvm-project/libcxx/include/module.modulemap @@ -2013,7 +2013,6 @@ module std_private_type_traits_is_scalar [system header "__type_traits/is_scalar.h" export std_private_type_traits_is_null_pointer } -module std_private_type_traits_is_scoped_enum [system] { header "__type_traits/is_scoped_enum.h" } module std_private_type_traits_is_signed [system] { header "__type_traits/is_signed.h" } module std_private_type_traits_is_signed_integer [system] { header "__type_traits/is_signed_integer.h" } module std_private_type_traits_is_specialization [system] { header "__type_traits/is_specialization.h" } diff --git a/contrib/llvm-project/libcxx/include/type_traits b/contrib/llvm-project/libcxx/include/type_traits index ffa137338b6a..7f231cd09df5 100644 --- a/contrib/llvm-project/libcxx/include/type_traits +++ b/contrib/llvm-project/libcxx/include/type_traits @@ -514,10 +514,6 @@ namespace std # include <__type_traits/unwrap_ref.h> #endif -#if _LIBCPP_STD_VER >= 23 -# include <__type_traits/is_scoped_enum.h> -#endif - #include #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)