[libcxx-commits] [libcxx] e4fdbcc - [libc++] Add miscellaneous missing includes

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 5 05:54:53 PDT 2024


Author: Louis Dionne
Date: 2024-09-05T08:54:41-04:00
New Revision: e4fdbcc28f19b59fef065f2a6f939f91f286b9a8

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

LOG: [libc++] Add miscellaneous missing includes

Added: 
    

Modified: 
    libcxx/include/__memory/uninitialized_algorithms.h
    libcxx/include/forward_list
    libcxx/include/list
    libcxx/include/string

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__memory/uninitialized_algorithms.h b/libcxx/include/__memory/uninitialized_algorithms.h
index 72db3a266fdd4d..8ff87e28b3bb51 100644
--- a/libcxx/include/__memory/uninitialized_algorithms.h
+++ b/libcxx/include/__memory/uninitialized_algorithms.h
@@ -22,6 +22,7 @@
 #include <__memory/construct_at.h>
 #include <__memory/pointer_traits.h>
 #include <__memory/voidify.h>
+#include <__type_traits/enable_if.h>
 #include <__type_traits/extent.h>
 #include <__type_traits/is_array.h>
 #include <__type_traits/is_constant_evaluated.h>

diff  --git a/libcxx/include/forward_list b/libcxx/include/forward_list
index 6c0dc5f96a5d5e..3187b11e4dde77 100644
--- a/libcxx/include/forward_list
+++ b/libcxx/include/forward_list
@@ -218,6 +218,7 @@ template <class T, class Allocator, class Predicate>
 #include <__ranges/container_compatible_range.h>
 #include <__ranges/from_range.h>
 #include <__type_traits/conditional.h>
+#include <__type_traits/enable_if.h>
 #include <__type_traits/is_allocator.h>
 #include <__type_traits/is_const.h>
 #include <__type_traits/is_nothrow_assignable.h>

diff  --git a/libcxx/include/list b/libcxx/include/list
index 76b1d9241b41ca..2aa774451ec2a8 100644
--- a/libcxx/include/list
+++ b/libcxx/include/list
@@ -225,6 +225,7 @@ template <class T, class Allocator, class Predicate>
 #include <__ranges/container_compatible_range.h>
 #include <__ranges/from_range.h>
 #include <__type_traits/conditional.h>
+#include <__type_traits/enable_if.h>
 #include <__type_traits/is_allocator.h>
 #include <__type_traits/is_nothrow_assignable.h>
 #include <__type_traits/is_nothrow_constructible.h>

diff  --git a/libcxx/include/string b/libcxx/include/string
index 5cb0693ad10bc3..3480b57375c118 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -621,6 +621,7 @@ basic_string<char32_t> operator""s( const char32_t *str, size_t len );
 #include <__string/char_traits.h>
 #include <__string/extern_template_lists.h>
 #include <__type_traits/conditional.h>
+#include <__type_traits/enable_if.h>
 #include <__type_traits/is_allocator.h>
 #include <__type_traits/is_array.h>
 #include <__type_traits/is_convertible.h>


        


More information about the libcxx-commits mailing list