Sylvain Audi
4e03034619
[Support/Path] sys::path::replace_path_prefix fix and simplifications
...
Added unit tests for 2 scenarios that were failing.
Made replace_path_prefix back to 3 parameters instead of 5, simplifying the implementation. The other 2 were always used with the default value.
This commit is intended to be the first of 3:
1) simplify/fix replace_path_prefix.
2) use it in the context of -fdebug-prefix-map and -fmacro-prefix-map (see D76869).
3) Make Windows version of replace_path_prefix insensitive to both case and separators (slash vs backslash).
Differential Revision: https://reviews.llvm.org/D77223
2020-04-03 13:50:23 -04:00
..
2020-01-28 23:25:25 +01:00
2020-03-17 15:54:47 +01:00
2019-07-31 03:22:08 +00:00
2020-02-03 12:06:15 +01:00
2019-04-25 11:57:40 +00:00
2020-03-31 16:16:19 +08:00
2019-01-19 08:50:56 +00:00
2020-03-03 12:17:53 +01:00
2020-01-24 17:29:32 -08:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 15:54:37 +00:00
2018-06-13 18:32:02 +00:00
2019-01-19 08:50:56 +00:00
2020-03-31 16:16:19 +08:00
2020-03-11 15:45:34 -07:00
2020-03-03 11:03:09 +01:00
2019-01-19 08:50:56 +00:00
2020-01-11 15:27:07 -05:00
2020-02-05 21:32:11 +01:00
2020-02-24 14:17:43 -08:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2020-04-01 21:50:11 +08:00
2019-01-19 08:50:56 +00:00
2019-03-11 09:06:18 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2020-02-21 15:29:48 +01:00
2020-01-28 23:25:25 +01:00
2020-03-30 13:19:18 -07:00
2019-10-29 15:49:08 -07:00
2020-01-29 21:16:46 -08:00
2019-01-19 08:50:56 +00:00
2020-02-11 07:38:42 -08:00
2019-10-17 18:09:05 +00:00
2020-03-09 19:15:09 +09:00
2019-12-18 10:47:02 -08:00
2020-01-28 23:25:25 +01:00
2019-12-03 20:04:51 +03:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-25 09:03:32 +00:00
2020-02-27 17:23:48 -08:00
2019-01-19 08:50:56 +00:00
2019-08-22 08:13:30 +00:00
2019-05-20 20:53:05 +00:00
2019-01-19 08:50:56 +00:00
2020-03-23 23:24:48 -04:00
2019-01-19 08:50:56 +00:00
2020-04-03 13:50:23 -04:00
2020-01-09 18:14:05 +00:00
2019-08-14 13:59:04 +00:00
2020-01-28 23:25:25 +01:00
2019-08-14 13:59:04 +00:00
2019-11-11 22:14:28 -08:00
2019-01-19 08:50:56 +00:00
2019-08-14 13:59:04 +00:00
2020-01-07 00:51:41 +01:00
2020-03-31 16:16:19 +08:00
2019-01-20 21:19:56 +00:00
2019-01-19 08:50:56 +00:00
2020-01-28 23:25:25 +01:00
2019-01-19 08:50:56 +00:00
2020-02-27 17:23:48 -08:00
2019-01-19 08:50:56 +00:00
2020-03-26 09:17:20 +00:00
2019-01-19 08:50:56 +00:00
2020-02-14 10:24:22 -05:00
2020-02-14 10:24:22 -05:00
2019-01-19 08:50:56 +00:00
2020-02-15 09:05:01 -05:00
2019-01-19 08:50:56 +00:00
2019-10-14 13:14:34 +00:00
2019-08-15 15:54:37 +00:00
2019-01-19 08:50:56 +00:00
2019-05-06 13:41:54 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2020-03-27 15:16:52 -07:00
2019-01-19 08:50:56 +00:00
2020-02-29 12:30:23 -08:00
2019-11-11 20:48:28 -08:00