[libcxx-commits] [libcxx] 88f8993 - [libc++] Add a few missing includes

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 1 06:39:24 PDT 2024


Author: Louis Dionne
Date: 2024-11-01T09:39:20-04:00
New Revision: 88f8993591dbe02f718f2c028f5fbb5a9805c9cc

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

LOG: [libc++] Add a few missing includes

Added: 
    

Modified: 
    libcxx/include/__format/formatter_floating_point.h
    libcxx/include/__string/char_traits.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__format/formatter_floating_point.h b/libcxx/include/__format/formatter_floating_point.h
index 9ffe20a1a72a06..a9cdfac8cb4c4c 100644
--- a/libcxx/include/__format/formatter_floating_point.h
+++ b/libcxx/include/__format/formatter_floating_point.h
@@ -36,6 +36,7 @@
 #include <__utility/move.h>
 #include <__utility/unreachable.h>
 #include <cmath>
+#include <cstddef/ptr
diff _t.h>
 
 #ifndef _LIBCPP_HAS_NO_LOCALIZATION
 #  include <__locale>

diff  --git a/libcxx/include/__string/char_traits.h b/libcxx/include/__string/char_traits.h
index fff045be01805b..f59764bb0d048d 100644
--- a/libcxx/include/__string/char_traits.h
+++ b/libcxx/include/__string/char_traits.h
@@ -17,6 +17,7 @@
 #include <__assert>
 #include <__compare/ordering.h>
 #include <__config>
+#include <__cstddef/ptr
diff _t.h>
 #include <__functional/hash.h>
 #include <__functional/identity.h>
 #include <__iterator/iterator_traits.h>


        


More information about the libcxx-commits mailing list