aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2025-12-06 20:24:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2026-05-29 22:59:33 +0000
commit14d9cfea577974490bc1c7317421ed56d51ff23e (patch)
tree46cc3c31447ea2cd1b94fcf8fef6e4a6633bd037
parentafca70df2c3a3e47b5ec1a90c54a3b443e4c4e20 (diff)
Revert "libcxx-compat: revert llvmorg-19-init-8667-g472b612ccbed:"
This reverts commit f7570f1eb0dc056dfce9d7500157538c670edaf6, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit a843ea3f246f3f137722db556aa07710e6a84b71)
-rw-r--r--contrib/llvm-project/libcxx/include/__format/format_arg.h1
-rw-r--r--contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm-project/libcxx/include/__format/format_arg.h b/contrib/llvm-project/libcxx/include/__format/format_arg.h
index 4924e5fb3253..aa02f81dc40e 100644
--- a/contrib/llvm-project/libcxx/include/__format/format_arg.h
+++ b/contrib/llvm-project/libcxx/include/__format/format_arg.h
@@ -19,6 +19,7 @@
#include <__fwd/format.h>
#include <__memory/addressof.h>
#include <__type_traits/conditional.h>
+#include <__type_traits/remove_const.h>
#include <__utility/forward.h>
#include <__utility/move.h>
#include <__utility/unreachable.h>
diff --git a/contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h b/contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h
index 8e1c04336432..2c4e9e419a1b 100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h
@@ -10,8 +10,6 @@
#define _LIBCPP___TYPE_TRAITS_REMOVE_CV_H
#include <__config>
-#include <__type_traits/remove_const.h>
-#include <__type_traits/remove_volatile.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header