[libcxx-commits] [PATCH] D133796: [libc++][chrono] Removes format include.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 20 09:58:19 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf2a263512c83: [libc++][chrono] Removes format include. (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133796/new/
https://reviews.llvm.org/D133796
Files:
libcxx/include/__chrono/ostream.h
libcxx/test/libcxx/transitive_includes/cxx20/expected.chrono
libcxx/test/libcxx/transitive_includes/cxx2b/expected.chrono
Index: libcxx/test/libcxx/transitive_includes/cxx2b/expected.chrono
===================================================================
--- libcxx/test/libcxx/transitive_includes/cxx2b/expected.chrono
+++ libcxx/test/libcxx/transitive_includes/cxx2b/expected.chrono
@@ -18,7 +18,6 @@
cwchar
cwctype
exception
-format
initializer_list
ios
iosfwd
Index: libcxx/test/libcxx/transitive_includes/cxx20/expected.chrono
===================================================================
--- libcxx/test/libcxx/transitive_includes/cxx20/expected.chrono
+++ libcxx/test/libcxx/transitive_includes/cxx20/expected.chrono
@@ -20,7 +20,6 @@
cwchar
cwctype
exception
-format
functional
initializer_list
ios
Index: libcxx/include/__chrono/ostream.h
===================================================================
--- libcxx/include/__chrono/ostream.h
+++ libcxx/include/__chrono/ostream.h
@@ -13,7 +13,7 @@
#include <__chrono/day.h>
#include <__chrono/statically_widen.h>
#include <__config>
-#include <format>
+#include <__format/format_functions.h>
#include <ostream>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133796.461601.patch
Type: text/x-patch
Size: 1129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220920/0f68f0e8/attachment.bin>
More information about the libcxx-commits
mailing list