[libcxx] Make generic_*string return paths with forward slashes on windows
authorMartin Storsjö <martin@martin.st>
Mon, 9 Nov 2020 09:45:13 +0000 (11:45 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 19 Feb 2021 19:49:51 +0000 (21:49 +0200)
commitf4f5fb915104887fefa602cfcbd1d4fc8447d46b
tree16e4d9ea41f4c81a53fd2ab7ef19f17ab5aa596b
parent784c7debb21795a0c0a4188590a7eac14f170744
[libcxx] Make generic_*string return paths with forward slashes on windows

This matches what MS STL returns; in std::filesystem, forward slashes
are considered generic dir separators that are valid on all platforms.

Differential Revision: https://reviews.llvm.org/D91181
libcxx/include/filesystem
libcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp