[libcxx-commits] [libcxx] [libc++] Remove a few unused includes of trivially_copyable.h (PR #93200)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 23 12:40:03 PDT 2024


https://github.com/ldionne updated https://github.com/llvm/llvm-project/pull/93200

>From 93519cbccb06bcbd5a994043c0c2632c39a71273 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Wed, 22 May 2024 14:08:19 -0700
Subject: [PATCH] [libc++] Remove a few unused includes of trivially_copyable.h

---
 libcxx/include/__algorithm/copy_move_common.h | 1 -
 libcxx/include/__algorithm/pstl_copy.h        | 1 -
 libcxx/include/__algorithm/pstl_move.h        | 1 -
 3 files changed, 3 deletions(-)

diff --git a/libcxx/include/__algorithm/copy_move_common.h b/libcxx/include/__algorithm/copy_move_common.h
index 12a26c6d6a64e..8a98451a8f965 100644
--- a/libcxx/include/__algorithm/copy_move_common.h
+++ b/libcxx/include/__algorithm/copy_move_common.h
@@ -21,7 +21,6 @@
 #include <__type_traits/is_constant_evaluated.h>
 #include <__type_traits/is_constructible.h>
 #include <__type_traits/is_trivially_assignable.h>
-#include <__type_traits/is_trivially_copyable.h>
 #include <__type_traits/is_volatile.h>
 #include <__utility/move.h>
 #include <__utility/pair.h>
diff --git a/libcxx/include/__algorithm/pstl_copy.h b/libcxx/include/__algorithm/pstl_copy.h
index 66381b9a186b0..3e17131f13569 100644
--- a/libcxx/include/__algorithm/pstl_copy.h
+++ b/libcxx/include/__algorithm/pstl_copy.h
@@ -20,7 +20,6 @@
 #include <__type_traits/enable_if.h>
 #include <__type_traits/is_constant_evaluated.h>
 #include <__type_traits/is_execution_policy.h>
-#include <__type_traits/is_trivially_copyable.h>
 #include <__type_traits/remove_cvref.h>
 #include <__utility/move.h>
 #include <optional>
diff --git a/libcxx/include/__algorithm/pstl_move.h b/libcxx/include/__algorithm/pstl_move.h
index 3155ddedf91bb..745fdefb9b11a 100644
--- a/libcxx/include/__algorithm/pstl_move.h
+++ b/libcxx/include/__algorithm/pstl_move.h
@@ -20,7 +20,6 @@
 #include <__type_traits/enable_if.h>
 #include <__type_traits/is_constant_evaluated.h>
 #include <__type_traits/is_execution_policy.h>
-#include <__type_traits/is_trivially_copyable.h>
 #include <__type_traits/remove_cvref.h>
 #include <optional>
 



More information about the libcxx-commits mailing list