llvm-project/libcxx/test/std/input.output
Eric Fiselier 998a5c8831 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.

llvm-svn: 338093
2018-07-27 03:07:09 +00:00
..
file.streams Implement <filesystem> 2018-07-27 03:07:09 +00:00
filesystems Implement <filesystem> 2018-07-27 03:07:09 +00:00
input.output.general
iostream.format [libcxx] [test] Fix MSVC x64 truncation warning. 2018-05-05 01:40:24 +00:00
iostream.forward [libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced". 2016-11-14 17:35:14 +00:00
iostream.objects Move remaining _LIBCPP_VERSION tests into test/libcxx 2016-06-22 02:23:22 +00:00
iostreams.base [libcxx] [test] Remove nonportable that errc::is_a_directory produces "Is a directory" from ios_base::failure tests 2018-04-25 01:58:55 +00:00
iostreams.requirements
stream.buffers Add a catch for std::length_error for the case where the string can't handle 2GB. (like say 32-bit big-endian) 2018-02-14 18:05:25 +00:00
string.streams libcxx: Fix for basic_stringbuf::seekoff() after r320604. 2017-12-19 23:33:16 +00:00
nothing_to_do.pass.cpp