[libcxx-commits] [libcxx] 0cceac6 - [libc++] Remove a few unused includes from <__concepts/*> (#129883)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 6 01:22:21 PST 2025


Author: Nikolas Klauser
Date: 2025-03-06T10:22:18+01:00
New Revision: 0cceac6bbdf800b04c3325e1134a8b25b6d1a0bb

URL: https://github.com/llvm/llvm-project/commit/0cceac6bbdf800b04c3325e1134a8b25b6d1a0bb
DIFF: https://github.com/llvm/llvm-project/commit/0cceac6bbdf800b04c3325e1134a8b25b6d1a0bb.diff

LOG: [libc++] Remove a few unused includes from <__concepts/*> (#129883)

Added: 
    

Modified: 
    libcxx/include/__concepts/class_or_enum.h
    libcxx/include/__concepts/swappable.h

Removed: 
    


################################################################################
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