Sylvain Audi
7a8edcb212
[Clang] Restore replace_path_prefix instead of startswith
...
In D49466, sys::path::replace_path_prefix was used instead startswith for -f[macro/debug/file]-prefix-map options.
However those were reverted later (commit rG3bb24bf25767ef5bbcef958b484e7a06d8689204) due to broken Windows tests.
This patch restores those replace_path_prefix calls.
It also modifies the prefix matching to be case-insensitive under Windows.
Differential Revision : https://reviews.llvm.org/D76869
2020-05-13 13:49:14 -04:00
..
2020-05-13 13:49:14 -04:00
2019-03-19 22:09:55 +00:00
2019-04-11 21:18:22 +00:00
2020-05-04 13:52:30 +01:00
2019-11-12 12:45:18 +00:00
2018-09-28 10:18:02 +00:00
2019-06-07 12:42:54 +00:00
2019-02-18 12:39:47 +00:00
2020-03-26 09:17:20 +00:00
2020-04-26 01:29:25 +02:00
2020-04-26 01:29:25 +02:00
2020-04-26 01:29:25 +02:00
2019-04-26 15:35:51 +00:00
2018-10-18 17:42:41 +00:00
2019-06-10 22:28:20 +00:00
2018-09-13 21:10:08 +00:00
2019-08-14 02:30:11 +00:00
2019-10-29 14:44:38 -07:00
2019-05-16 21:13:49 +00:00
2020-05-13 13:49:14 -04:00
2020-05-13 13:49:14 -04:00
2019-08-15 18:35:44 +00:00
2019-11-25 17:35:12 -05:00
2019-11-25 17:35:12 -05:00
2019-03-19 01:51:19 +00:00
2020-02-25 09:43:52 -05:00
2020-03-30 12:33:51 -05:00
2020-02-04 15:36:14 -05:00
2019-08-09 19:49:14 +00:00
2019-05-27 19:15:30 +00:00
2019-02-05 22:34:55 +00:00
2018-09-20 17:22:43 +00:00
2019-01-15 20:08:23 +00:00
2019-03-21 20:42:13 +00:00
2018-10-01 14:38:43 +00:00
2019-05-10 20:11:36 +00:00
2020-03-02 09:39:26 -08:00
2020-01-07 11:40:56 -08:00
2019-11-12 12:45:18 +00:00
2020-04-14 12:32:48 -06:00
2019-02-14 04:13:17 +00:00
2019-05-10 20:11:36 +00:00
2019-05-10 20:11:36 +00:00
2019-05-10 20:11:36 +00:00
2019-05-04 06:46:18 +00:00
2019-05-04 06:46:18 +00:00
2019-03-26 11:22:37 +00:00
2019-11-04 12:49:19 -05:00
2019-09-11 21:19:27 +00:00
2019-12-03 16:43:35 -08:00
2020-02-14 19:41:01 +01:00
2019-10-07 19:41:53 +00:00
2019-09-27 05:37:06 +00:00
2018-11-15 03:04:21 +00:00
2019-11-06 10:27:53 -08:00
2019-07-25 11:04:29 +00:00
2019-12-04 14:39:41 -08:00
2020-02-14 19:41:01 +01:00
2019-09-17 08:19:17 +00:00
2020-04-09 18:04:22 +01:00
2019-11-12 12:45:18 +00:00
2019-08-01 09:10:37 +00:00
2020-03-07 18:28:54 +03:00
2020-01-15 11:28:57 +00:00
2020-01-24 14:27:35 -08:00
2019-06-17 20:21:25 +00:00
2020-02-14 19:41:01 +01:00
2018-09-19 16:18:55 +00:00
2019-02-14 19:27:25 +00:00
2019-07-14 18:33:51 +00:00
2020-04-09 13:17:29 +08:00