mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Merge commit 3537338d1ab9 from llvm git (by Nikolas Klauser):
[libc++][libunwind] Fixes to allow GCC 13 to compile libunwind/libc++abi/libc++
These are changes to allow GCC 13 to successfully compile the runtimes stack.
Reviewed By: ldionne, #libc, #libunwind, MaskRay
Spies: MaskRay, zibi, SeanP, power-llvm-team, mstorsjo, arichardson, libcxx-commits
Differential Revision: https://reviews.llvm.org/D151387
Reviewed by: imp, dim, emaste
Differential Revision: https://reviews.freebsd.org/D42578
(cherry picked from commit ab43851b0c7bd5f21ade72c3cae3d3ee09eb8891)
This commit is contained in:
parent
ce6c84abe6
commit
415aab2abb
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
#if __has_builtin(__remove_cv)
|
||||
#if __has_builtin(__remove_cv) && !defined(_LIBCPP_COMPILER_GCC)
|
||||
template <class _Tp>
|
||||
struct remove_cv {
|
||||
using type _LIBCPP_NODEBUG = __remove_cv(_Tp);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
#if __has_builtin(__remove_cvref)
|
||||
#if __has_builtin(__remove_cvref) && !defined(_LIBCPP_COMPILER_GCC)
|
||||
template <class _Tp>
|
||||
using __remove_cvref_t _LIBCPP_NODEBUG = __remove_cvref(_Tp);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue