[libc++] Remove unused headers from <filesystem>

Remove unused headers from `<filesystem>`

Reviewed By: Quuxplusone, #libc, Mordante

Spies: Mordante, libcxx-commits

Differential Revision: https://reviews.llvm.org/D116146
This commit is contained in:
Nikolas Klauser 2021-12-23 12:21:00 +01:00
parent 53f0538181
commit 23f1cd9e63
1 changed files with 16 additions and 38 deletions

View File

@ -238,48 +238,26 @@ inline constexpr bool std::ranges::enable_view<std::filesystem::recursive_direct
*/
#include<__filesystem/copy_options.h>
#include<__filesystem/directory_entry.h>
#include<__filesystem/directory_iterator.h>
#include<__filesystem/directory_options.h>
#include<__filesystem/file_status.h>
#include<__filesystem/file_time_type.h>
#include<__filesystem/file_type.h>
#include<__filesystem/filesystem_error.h>
#include<__filesystem/operations.h>
#include<__filesystem/path_iterator.h>
#include<__filesystem/path.h>
#include<__filesystem/perm_options.h>
#include<__filesystem/perms.h>
#include<__filesystem/recursive_directory_iterator.h>
#include<__filesystem/space_info.h>
#include<__filesystem/u8path.h>
#include <__availability>
#include <__config>
#include <__debug>
#include <__ranges/enable_borrowed_range.h>
#include <__ranges/enable_view.h>
#include <__utility/forward.h>
#include <chrono>
#include <__filesystem/copy_options.h>
#include <__filesystem/directory_entry.h>
#include <__filesystem/directory_iterator.h>
#include <__filesystem/directory_options.h>
#include <__filesystem/file_status.h>
#include <__filesystem/file_time_type.h>
#include <__filesystem/file_type.h>
#include <__filesystem/filesystem_error.h>
#include <__filesystem/operations.h>
#include <__filesystem/path_iterator.h>
#include <__filesystem/path.h>
#include <__filesystem/perm_options.h>
#include <__filesystem/perms.h>
#include <__filesystem/recursive_directory_iterator.h>
#include <__filesystem/space_info.h>
#include <__filesystem/u8path.h>
#include <compare>
#include <cstddef>
#include <cstdlib>
#include <iosfwd>
#include <iterator>
#include <memory>
#include <stack>
#include <string>
#include <string_view>
#include <system_error>
#include <utility>
#include <version>
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
# include <locale>
# include <iomanip> // for quoted
#endif
#if defined(_LIBCPP_HAS_NO_FILESYSTEM_LIBRARY)
# error "The Filesystem library is not supported since libc++ has been configured with LIBCXX_ENABLE_FILESYSTEM disabled"
#endif