[libcxx-commits] [PATCH] D153327: [libc++] Enable <fstream> without <filesystem>

Michael Platings via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 20 03:15:23 PDT 2023


michaelplatings created this revision.
michaelplatings added reviewers: ldionne, philnik, phosek.
Herald added a subscriber: arichardson.
Herald added a project: All.
michaelplatings requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

On systems with only a C library available but not POSIX support,
<fstream> can be used but <filesystem> cannot. Adding a separate
LIBCXX_ENABLE_FSTREAM option enables this use case.

This reverts commit 66a562d22e708ba40b8443b58e504ac3f983ba59 <https://reviews.llvm.org/rG66a562d22e708ba40b8443b58e504ac3f983ba59>
(D152168 <https://reviews.llvm.org/D152168>: "[libc++] Roll up fstream support into filesystem support")


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153327

Files:
  libcxx/CMakeLists.txt
  libcxx/cmake/caches/Generic-no-fstream.cmake
  libcxx/docs/ReleaseNotes.rst
  libcxx/include/CMakeLists.txt
  libcxx/include/__config_site.in
  libcxx/include/filesystem
  libcxx/include/fstream
  libcxx/include/module.modulemap.in
  libcxx/src/ios.instantiations.cpp
  libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_bidirectional_iterator.compile.pass.cpp
  libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_forward_iterator.compile.pass.cpp
  libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_input_iterator.compile.pass.cpp
  libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp
  libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_random_access_iterator.compile.pass.cpp
  libcxx/test/std/input.output/file.streams/lit.local.cfg
  libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/xsputn.PR14074.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
  libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp
  libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.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
  libcxx/test/support/test_macros.h
  libcxx/utils/ci/buildkite-pipeline.yml
  libcxx/utils/ci/run-buildbot
  libcxx/utils/libcxx/test/features.py
  libcxx/utils/libcxx/test/header_information.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153327.532850.patch
Type: text/x-patch
Size: 24964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230620/c133727c/attachment-0001.bin>


More information about the libcxx-commits mailing list