[libcxx-commits] [PATCH] D152382: [libc++] Expand the contents of LIBCXX_ENABLE_FILESYSTEM

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 7 09:29:26 PDT 2023


ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Since LIBCXX_ENABLE_FILESYSTEM now truly represents whether the
platform supports a filesystem (as opposed to whether the <filesystem>
library is provided), we can provide a few additional classes from
the <filesystem> library even when the platform does not have support
for a filesystem. For example, this allows performing path manipulations
using std::filesystem::path even on platforms where there is no actual
filesystem.

rdar://107061236


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152382

Files:
  libcxx/include/__filesystem/copy_options.h
  libcxx/include/__filesystem/directory_entry.h
  libcxx/include/__filesystem/directory_iterator.h
  libcxx/include/__filesystem/directory_options.h
  libcxx/include/__filesystem/file_status.h
  libcxx/include/__filesystem/filesystem_error.h
  libcxx/include/__filesystem/operations.h
  libcxx/include/__filesystem/path_iterator.h
  libcxx/include/__filesystem/perm_options.h
  libcxx/include/__filesystem/perms.h
  libcxx/include/__filesystem/recursive_directory_iterator.h
  libcxx/include/__filesystem/space_info.h
  libcxx/include/filesystem
  libcxx/include/fstream
  libcxx/src/CMakeLists.txt
  libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp
  libcxx/test/libcxx/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp
  libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
  libcxx/test/libcxx/input.output/filesystems/lit.local.cfg
  libcxx/test/libcxx/transitive_includes.gen.py
  libcxx/test/std/containers/iterator.rel_ops.compile.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_path.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/open_path.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp
  libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_path.pass.cpp
  libcxx/test/std/input.output/filesystems/class.directory_entry/lit.local.cfg
  libcxx/test/std/input.output/filesystems/class.directory_iterator/lit.local.cfg
  libcxx/test/std/input.output/filesystems/class.filesystem_error/filesystem_error.members.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.nonmember/append_op.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.io.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path.nonmember/swap.pass.cpp
  libcxx/test/std/input.output/filesystems/class.path/path_helper.h
  libcxx/test/std/input.output/filesystems/class.rec.dir.itr/lit.local.cfg
  libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/enable_view.compile.pass.cpp
  libcxx/test/std/input.output/filesystems/fs.op.funcs/lit.local.cfg
  libcxx/test/std/input.output/filesystems/lit.local.cfg
  libcxx/test/std/time/time.clock/time.clock.file/now.pass.cpp
  libcxx/test/std/time/time.clock/time.clock.file/to_from_sys.pass.cpp
  libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.fmtkind/format_kind.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152382.529343.patch
Type: text/x-patch
Size: 28060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230607/692ca131/attachment-0001.bin>


More information about the libcxx-commits mailing list