[libcxx-commits] [PATCH] D138327: [libc++] Introduce a setting to remove fstream from the library

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 18 13:17:38 PST 2022


ldionne created this revision.
Herald added a subscriber: arichardson.
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++.

This allows porting the library to platforms that are able to support
<iostream> but that do not have a notion of a filesystem, and where it
hence doesn't make sense to support std::fstream (and never will).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138327

Files:
  libcxx/CMakeLists.txt
  libcxx/cmake/caches/Generic-no-fstream.cmake
  libcxx/include/CMakeLists.txt
  libcxx/include/__config_site.in
  libcxx/include/fstream
  libcxx/include/module.modulemap.in
  libcxx/src/ios.instantiations.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/utils/ci/buildkite-pipeline.yml
  libcxx/utils/ci/run-buildbot
  libcxx/utils/generate_header_tests.py
  libcxx/utils/libcxx/test/features.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138327.476583.patch
Type: text/x-patch
Size: 8166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221118/b17bf503/attachment.bin>


More information about the libcxx-commits mailing list