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-10-06 12:04:30 +01:00
2021-11-01 11:55:24 +00:00
2021-07-12 13:28:10 +00:00
2021-05-06 07:21:23 +00:00
2020-12-15 16:01:55 -08:00
2021-09-06 09:10:07 -07:00
2021-03-24 11:54:05 -04:00
2021-03-24 11:54:05 -04:00
2021-07-16 07:38:16 +00:00
2021-07-16 07:38:16 +00:00
2021-10-11 17:44:09 +01:00
2021-07-23 07:44:23 -07:00
2021-08-10 08:43:03 +00:00
2021-05-03 08:52:38 -04:00
2021-05-25 11:18:12 -04:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2021-04-07 01:20:18 +02:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2021-03-21 22:50:21 +03:00
2021-02-05 21:02:06 -08:00
2021-11-04 13:00:44 -07:00
2021-01-06 18:27:33 -08:00
2021-06-03 23:29:03 +02:00
2020-09-19 20:41:25 -07:00
2021-04-07 01:20:18 +02:00
2021-09-16 18:29:57 +02:00
2021-04-22 18:07:30 -07:00
2021-02-05 21:02:06 -08:00
2021-10-14 22:44:09 -07:00
2021-10-14 13:41:55 -07:00
2021-07-28 09:31:14 -07:00
2021-09-16 09:39:49 -04:00
2021-01-30 09:53:42 -08:00
2021-09-08 09:19:09 -07:00
2021-06-04 11:22:06 -07:00
2021-09-30 17:43:12 -07:00
2021-11-02 12:06:25 -04:00
2021-06-05 18:05:40 +01:00
2021-07-23 11:54:49 -07:00
2021-02-05 21:02:06 -08:00
2021-10-22 11:47:03 -07:00
2021-10-06 14:32:38 +01:00
2020-12-14 17:04:06 -08:00
2020-10-06 18:21:17 -04:00
2021-08-11 02:48:53 +00:00
2021-02-05 21:02:06 -08:00
2021-03-17 17:27:00 +03:00
2021-10-28 10:33:37 +03:00
2021-06-25 00:22:01 +03:00
2021-09-06 09:10:07 -07:00
2021-03-15 12:17:11 -04:00
2021-10-01 21:51:00 +00:00
2021-10-25 16:05:34 -04:00
2021-02-05 21:02:06 -08:00
2021-02-05 21:02:06 -08:00
2021-11-02 12:06:25 -04:00
2021-09-07 09:56:11 -07:00
2021-03-05 13:23:42 -05:00
2021-02-05 21:02:06 -08:00
2021-07-10 11:57:16 +01:00
2021-10-15 11:18:22 +02:00
2021-10-11 23:36:06 +03:00
2021-02-05 21:02:06 -08:00
2021-08-11 02:48:53 +00:00
2021-04-12 10:47:14 -07:00
2021-07-22 13:47:19 +02:00
2021-11-03 20:52:21 -04:00
2021-04-17 13:47:02 +01:00
2021-08-19 14:13:14 -07:00
2021-10-12 10:13:43 -07:00
2021-03-25 09:47:49 -04:00
2020-10-13 16:42:24 -04:00
2021-09-28 00:56:11 +03:00
2021-09-28 00:56:11 +03:00
2021-02-05 21:02:06 -08:00
2021-04-07 01:20:18 +02:00
2021-09-18 13:49:10 -04:00
2021-11-05 10:41:51 +02:00
2021-08-18 18:37:35 -07:00
2021-07-04 06:02:11 +00:00
2021-07-28 09:31:14 -07:00
2021-04-16 08:09:19 -04:00
2021-10-22 16:25:31 -07:00
2021-07-01 08:27:31 +00:00
2021-07-16 07:38:16 +00:00
2021-07-16 07:38:16 +00:00
2021-10-18 13:39:37 -07:00
2021-09-08 23:59:04 -07:00
2021-07-16 07:38:16 +00:00
2021-02-16 23:23:07 -08:00
2020-09-24 08:21:43 -04:00
2021-10-11 11:09:36 -07:00
2021-02-05 21:02:06 -08:00
2020-10-02 10:22:13 -04:00
2020-12-17 10:44:10 +00:00
2020-10-29 10:49:06 -07:00
2021-09-02 13:53:56 +03:00
2021-06-24 14:32:41 -04:00
2021-07-28 11:23:18 -07:00
2021-02-05 21:02:06 -08:00
2021-02-05 21:02:06 -08:00
2021-07-08 16:22:26 +01:00
2021-07-08 16:22:26 +01:00
2021-06-23 01:29:24 +00:00
2021-02-05 21:02:06 -08:00
2021-02-11 17:26:37 +01:00
2021-01-21 20:03:15 -08:00
2021-02-24 13:56:49 -05:00
2021-01-23 11:04:00 +00:00
2020-12-03 19:58:06 +00:00
2021-11-04 14:32:08 +00:00
2021-09-03 11:13:36 -07:00
2021-10-29 12:09:41 -07:00
2021-07-16 07:38:16 +00:00
2021-08-10 12:46:01 +08:00
2021-09-06 17:24:30 +08:00
2021-08-30 09:48:48 -07:00
2021-04-12 10:47:14 -07:00
2021-09-06 09:10:07 -07:00