[libcxx-commits] [libcxx] [libc++][NFC] Remove a few unused includes (PR #98808)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 14 03:14:48 PDT 2024


https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/98808

None

>From f769261195f3d06be7c61a6a86e62416231d2393 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Sun, 14 Jul 2024 12:14:28 +0200
Subject: [PATCH] [libc++][NFC] Remove a few unused includes

---
 libcxx/include/__type_traits/add_pointer.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libcxx/include/__type_traits/add_pointer.h b/libcxx/include/__type_traits/add_pointer.h
index 358e3cbd23843..5aac7d5cfa90d 100644
--- a/libcxx/include/__type_traits/add_pointer.h
+++ b/libcxx/include/__type_traits/add_pointer.h
@@ -11,9 +11,7 @@
 
 #include <__config>
 #include <__type_traits/is_referenceable.h>
-#include <__type_traits/is_same.h>
 #include <__type_traits/is_void.h>
-#include <__type_traits/remove_cv.h>
 #include <__type_traits/remove_reference.h>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)



More information about the libcxx-commits mailing list