[libcxx-commits] [libcxx] [libc++] Remove a few unused includes from <__concepts/*> (PR #129883)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 5 05:16:52 PST 2025
https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/129883
None
>From e820f1fa155a45d952a14e7abcdc7379dad4b9a1 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Wed, 5 Mar 2025 14:14:25 +0100
Subject: [PATCH] [libc++] Remove a few unused includes from <__concepts/*>
---
libcxx/include/__concepts/class_or_enum.h | 1 -
libcxx/include/__concepts/swappable.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/libcxx/include/__concepts/class_or_enum.h b/libcxx/include/__concepts/class_or_enum.h
index 2739e31e14ba6..9fceed034c468 100644
--- a/libcxx/include/__concepts/class_or_enum.h
+++ b/libcxx/include/__concepts/class_or_enum.h
@@ -13,7 +13,6 @@
#include <__type_traits/is_class.h>
#include <__type_traits/is_enum.h>
#include <__type_traits/is_union.h>
-#include <__type_traits/remove_cvref.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
diff --git a/libcxx/include/__concepts/swappable.h b/libcxx/include/__concepts/swappable.h
index 985c733021a0d..c691d3ab1e12b 100644
--- a/libcxx/include/__concepts/swappable.h
+++ b/libcxx/include/__concepts/swappable.h
@@ -22,7 +22,6 @@
#include <__utility/exchange.h>
#include <__utility/forward.h>
#include <__utility/move.h>
-#include <__utility/swap.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
More information about the libcxx-commits
mailing list