Files
clang-p2996/llvm/include/llvm/Support
Martin Storsjö a8b54834a1 [Support] Add a new path style for Windows with forward slashes
This behaves just like the regular Windows style, with both separator
forms accepted, but with get_separator() returning forward slashes.

Add a more descriptive name for the existing style, keeping the old
name around as an alias initially.

Add a new function `make_preferred()` (like the C++17
`std::filesystem::path` function with the same name), which converts
windows paths to the preferred separator form (while this one works on
any platform and takes a `path::Style` argument).

Contrary to `native()` (just like `make_preferred()` in `std::filesystem`),
this doesn't do anything at all on Posix, it doesn't try to reinterpret
backslashes into forward slashes there.

Differential Revision: https://reviews.llvm.org/D111879
2021-11-05 10:41:51 +02:00
..
2021-10-21 20:13:37 +02:00
2021-09-06 09:10:07 -07:00
2021-02-05 21:02:06 -08:00
2021-01-06 18:27:33 -08:00
2021-02-05 21:02:06 -08:00
2021-02-05 21:02:06 -08:00
2021-09-06 09:10:07 -07:00
2021-02-05 21:02:06 -08:00
2021-03-05 13:23:42 -05:00
2021-02-05 21:02:06 -08:00
2021-10-15 11:18:22 +02:00
2021-02-05 21:02:06 -08:00
2021-02-16 23:23:07 -08:00
2020-12-17 10:44:10 +00:00
2021-06-24 14:32:41 -04:00
2021-02-05 21:02:06 -08:00
2021-02-05 21:02:06 -08:00
2021-02-05 21:02:06 -08:00
2021-09-06 17:24:30 +08:00
2021-09-06 09:10:07 -07:00