[libcxx-commits] [libcxx] 472b612 - [libc++][NFC] Remove unused includes from <__type_traits/remove_cv.h> (#88752)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 17 21:55:54 PDT 2024
Author: Nikolas Klauser
Date: 2024-04-18T06:55:50+02:00
New Revision: 472b612ccbeda470fa15005e11882349b0b384be
URL: https://github.com/llvm/llvm-project/commit/472b612ccbeda470fa15005e11882349b0b384be
DIFF: https://github.com/llvm/llvm-project/commit/472b612ccbeda470fa15005e11882349b0b384be.diff
LOG: [libc++][NFC] Remove unused includes from <__type_traits/remove_cv.h> (#88752)
Added:
Modified:
libcxx/include/__format/format_arg.h
libcxx/include/__type_traits/remove_cv.h
Removed:
################################################################################
diff --git a/libcxx/include/__format/format_arg.h b/libcxx/include/__format/format_arg.h
index 4924e5fb325336..aa02f81dc40e2d 100644
--- a/libcxx/include/__format/format_arg.h
+++ b/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/libcxx/include/__type_traits/remove_cv.h b/libcxx/include/__type_traits/remove_cv.h
index 8e1c0433643235..2c4e9e419a1bec 100644
--- a/libcxx/include/__type_traits/remove_cv.h
+++ b/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
More information about the libcxx-commits
mailing list