[libcxx-commits] [libcxx] a3ee0d4 - [libc++] Remove unnecessary <cstdint> include from <string> (#70613)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 31 10:30:29 PDT 2023


Author: Jade Lovelace
Date: 2023-10-31T13:30:24-04:00
New Revision: a3ee0d4fac1659be934c170df60d2c10b8a3d5bb

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

LOG: [libc++] Remove unnecessary <cstdint> include from <string> (#70613)

<string> doesn't use any declarations from <cstdint> and this doesn't change
the transitive includes, so this is effectively a NFC cleanup.

Added: 
    

Modified: 
    libcxx/include/string

Removed: 
    


################################################################################
diff  --git a/libcxx/include/string b/libcxx/include/string
index cf9f0c847eb43af..68f13414c7b6948 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -614,7 +614,6 @@ basic_string<char32_t> operator""s( const char32_t *str, size_t len );
 #include <__utility/swap.h>
 #include <__utility/unreachable.h>
 #include <climits>
-#include <cstdint>
 #include <cstdio>  // EOF
 #include <cstring>
 #include <limits>


        


More information about the libcxx-commits mailing list