Paul Pluzhnikov
35ab2a11bb
Fix a buglet in remove_dots().
...
The function promises to canonicalize the path, but neglected to do so
for the root component.
For example, calling remove_dots("/tmp/foo.c", Style::windows_backslash)
resulted in "/tmp\foo.c". Now it produces "\tmp\foo.c".
Also fix FIXME in the corresponding test.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D126412
2022-06-02 11:07:44 -07:00
..
2022-03-04 13:45:43 -08:00
2022-01-21 13:15:04 +00:00
2022-04-26 12:00:43 +03:00
2021-06-28 10:32:32 -04:00
2022-05-06 15:51:37 +02:00
2022-04-28 10:48:26 +01:00
2022-05-07 17:37:18 -07:00
2022-04-05 21:38:06 -07:00
2021-10-22 16:25:31 -07:00
2022-05-15 22:22:16 -07:00
2022-04-26 12:00:43 +03:00
2022-05-03 11:57:50 +01:00
2022-03-14 11:38:04 -07:00
2022-03-23 08:13:17 -04:00
2022-04-12 14:51:12 -07:00
2022-02-28 11:35:07 +08:00
2022-04-06 11:37:37 +08:00
2021-09-16 09:39:49 -04:00
2022-04-05 18:19:20 -07:00
2022-05-12 08:30:36 +02:00
2021-01-25 15:09:00 -08:00
2022-01-26 16:55:53 +01:00
2022-01-21 13:15:04 +00:00
2022-04-05 21:38:06 -07:00
2022-05-17 14:06:59 +08:00
2022-05-21 13:00:30 +02:00
2021-07-10 11:28:42 +01:00
2022-05-17 09:11:45 -07:00
2022-05-17 09:38:13 +02:00
2021-02-02 14:33:34 -08:00
2021-11-04 14:32:08 +00:00
2021-07-08 13:37:57 -07:00
2022-02-08 14:15:28 +00:00
2022-04-05 21:38:06 -07:00
2022-03-11 13:16:58 +04:00
2021-05-14 19:16:31 +02:00
2021-12-14 22:38:42 -08:00
2021-07-21 15:47:18 -04:00
2022-06-02 11:07:44 -07:00
2022-04-08 15:20:53 -07:00
2022-04-12 14:51:12 -07:00
2022-01-21 13:15:04 +00:00
2022-04-05 21:38:06 -07:00
2022-01-24 14:13:21 +01:00
2021-07-16 07:38:16 +00:00
2021-12-10 18:57:33 +00:00
2022-04-05 21:38:06 -07:00
2022-05-09 11:29:42 +02:00
2022-01-21 13:15:04 +00:00
2021-07-13 11:24:12 +01:00
2022-05-04 06:16:55 +02:00
2022-01-21 13:15:04 +00:00
2021-06-03 18:58:29 +02:00
2022-01-21 13:15:04 +00:00
2022-06-02 11:07:44 -07:00
2022-03-14 04:41:40 +00:00
2022-01-21 13:15:04 +00:00