Jan Svoboda
f0691bcdf9
[clang][lex] Fix non-portability diagnostics with absolute path ( #74782 )
...
The existing code incorrectly assumes that `Path` can be empty. It
can't, it always contains at least `<` or `"`. On Unix, this patch fixes
an incorrect diagnostics that instead of `"/Users/blah"` suggested
`"Userss/blah"`. In assert builds, this would outright crash.
This patch also fixes a bug on Windows that would prevent the diagnostic
being triggered due to separator mismatch.
rdar://91172342
2023-12-18 12:11:27 -08:00
..
2023-08-11 08:42:01 -04:00
2023-08-11 08:42:01 -04:00
2022-12-06 11:02:27 +08:00
2023-08-28 12:13:42 -04:00
2023-05-25 11:55:44 +01:00
2023-12-18 12:11:27 -08:00
2023-08-01 11:00:27 -07:00
2023-05-04 19:19:52 +02:00
2022-10-28 15:05:21 +02:00
2023-07-12 08:03:23 +02:00
2023-08-28 12:13:42 -04:00
2022-07-13 10:19:26 +02:00
2022-07-13 10:19:26 +02:00
2023-08-28 12:13:42 -04:00
2023-02-23 14:40:58 +08:00
2023-08-28 12:13:42 -04:00
2023-10-04 14:09:06 +09:00
2023-08-29 09:36:59 -04:00
2023-08-11 08:42:01 -04:00
2023-09-06 23:20:00 +02:00
2023-07-03 10:15:40 -04:00
2023-06-05 11:09:58 -04:00
2023-11-09 20:36:38 -05:00
2022-07-19 15:04:58 -04:00
2023-05-31 07:26:03 +02:00
2023-08-11 08:42:01 -04:00
2022-08-26 09:20:05 -04:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2022-06-29 14:57:35 +02:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2023-05-04 19:19:52 +02:00
2023-10-23 14:29:00 +02:00
2023-05-31 07:26:03 +02:00
2023-08-10 13:57:40 -04:00
2023-11-06 14:56:25 -08:00
2023-02-22 10:16:02 +01:00
2023-08-10 13:57:40 -04:00
2023-08-28 12:13:42 -04:00