[libcxx-commits] [libcxx] 33fe4dc - [libc++][Modules] Restore the <string> include to <__format/format_functions.h>

Ian Anderson via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 15 08:29:30 PDT 2023


Author: Ian Anderson
Date: 2023-07-15T08:29:25-07:00
New Revision: 33fe4dc91e34c25ce29d39e20bdee0dfc7d25acb

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

LOG: [libc++][Modules] Restore the <string> include to <__format/format_functions.h>

<__format/format_functions.h> was using <string>, we need to bring the include back that was removed in D154122.

Reviewed By: Mordante, #libc

Differential Revision: https://reviews.llvm.org/D155116

Added: 
    

Modified: 
    libcxx/include/__format/format_functions.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__format/format_functions.h b/libcxx/include/__format/format_functions.h
index 0ae110118f6b79..8525a57d1e3d81 100644
--- a/libcxx/include/__format/format_functions.h
+++ b/libcxx/include/__format/format_functions.h
@@ -37,6 +37,7 @@
 #include <__iterator/iterator_traits.h> // iter_value_t
 #include <__variant/monostate.h>
 #include <array>
+#include <string>
 #include <string_view>
 
 #ifndef _LIBCPP_HAS_NO_LOCALIZATION


        


More information about the libcxx-commits mailing list