[libcxx-commits] [PATCH] D155116: [libc++][Modules] Remove spurious std.string export from std.format.__format.format_functions

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 14 11:14:28 PDT 2023


iana updated this revision to Diff 540504.
iana added a comment.

Restore the <string> include to <__format/format_functions.h> instead


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155116/new/

https://reviews.llvm.org/D155116

Files:
  libcxx/include/__format/format_functions.h


Index: libcxx/include/__format/format_functions.h
===================================================================
--- libcxx/include/__format/format_functions.h
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155116.540504.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230714/5f4fa9a1/attachment.bin>


More information about the libcxx-commits mailing list