You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/input.output/file.streams/fstreams
Eric Fiselier a0866c5fb5 Implement <filesystem>
This patch implements the <filesystem> header and uses that
to provide <experimental/filesystem>.

Unlike other standard headers, the symbols needed for <filesystem>
have not yet been placed in libc++.so. Instead they live in the
new libc++fs.a library. Users of filesystem are required to link this
library. (Also note that libc++experimental no longer contains the
definition of <experimental/filesystem>, which now requires linking libc++fs).

The reason for keeping <filesystem> out of the dylib for now is that
it's still somewhat experimental, and the possibility of requiring an
ABI breaking change is very real. In the future the symbols will likely
be moved into the dylib, or the dylib will be made to link libc++fs automagically).

Note that moving the symbols out of libc++experimental may break user builds
until they update to -lc++fs. This should be OK, because the experimental
library provides no stability guarantees. However, I plan on looking into
ways we can force libc++experimental to automagically link libc++fs.

In order to use a single implementation and set of tests for <filesystem>, it
has been placed in a special `__fs` namespace. This namespace is inline in
C++17 onward, but not before that. As such implementation is available
in C++11 onward, but no filesystem namespace is present "directly", and
as such name conflicts shouldn't occur in C++11 or C++14.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@338093 91177308-0d34-0410-b5e6-96231b3b80d8
6 years ago
..
filebuf Move test into test/std subdirectory. 10 years ago
filebuf.assign Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 8 years ago
filebuf.cons Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 8 years ago
filebuf.members Implement <filesystem> 6 years ago
filebuf.virtuals [libcxx] [test] Remove non-portable assertions from filebuf tests 7 years ago
fstream Move test into test/std subdirectory. 10 years ago
fstream.assign Fix Windows test failures caused by identical temp file names. 8 years ago
fstream.cons Implement <filesystem> 6 years ago
fstream.members Implement <filesystem> 6 years ago
ifstream Move test into test/std subdirectory. 10 years ago
ifstream.assign Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 8 years ago
ifstream.cons Implement <filesystem> 6 years ago
ifstream.members Implement <filesystem> 6 years ago
ofstream Move test into test/std subdirectory. 10 years ago
ofstream.assign Fix Windows test failures caused by identical temp file names. 8 years ago
ofstream.cons Implement <filesystem> 6 years ago
ofstream.members Implement <filesystem> 6 years ago
lit.local.cfg Add option to disable access to the global filesystem namespace. 10 years ago