[libc++][chrono] Removes format include.

Switch to the new granular format_functions header. Since the chrono's
format dependency in C++20 hasn't been in a release it's save to remove
it.

Depends on D133665

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D133796
This commit is contained in:
Mark de Wever 2022-09-13 20:10:26 +02:00
parent 00798e5006
commit f2a263512c
3 changed files with 1 additions and 3 deletions
libcxx
include/__chrono
test/libcxx/transitive_includes

View File

@ -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)

View File

@ -20,7 +20,6 @@ ctime
cwchar
cwctype
exception
format
functional
initializer_list
ios

View File

@ -18,7 +18,6 @@ ctime
cwchar
cwctype
exception
format
initializer_list
ios
iosfwd