Jan Voung
6f659b0060
[clang][dataflow] For bugprone-unchecked-optional-access report range ( #131055 )
...
Report the range in diagnostics, in addition to the location
in case the range helps disambiguate a little in chained `->`
expressions.
```
b->a->f->x = 1;
^~~~~~~
```
instead of just:
```
b->a->f->x = 1;
^
```
As a followup we should probably also report the location/range
of an `->` if that operator is used. Like:
```
b->a->f->x = 1;
^~
```
2025-03-17 16:04:15 -04:00
..
2024-11-06 08:35:44 -08:00
2024-11-02 12:08:35 +01:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2025-03-17 16:04:15 -04:00
2025-03-14 13:16:17 +01:00
2024-10-08 09:22:19 +03:00
2024-12-29 19:51:55 +08:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2025-01-11 07:12:37 +01:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2025-03-14 21:18:43 +08:00
2025-03-15 23:15:12 +01:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2024-10-08 09:22:19 +03:00
2025-02-27 19:35:10 +08:00
2024-10-08 09:22:19 +03:00
2024-10-10 12:32:39 +02:00
2025-03-11 07:22:15 +01:00
2025-03-17 15:55:40 +08:00
2025-03-09 20:09:59 +08:00
2024-10-08 09:22:19 +03:00
2025-03-14 13:16:17 +01:00
2024-12-21 07:07:19 +08:00
2025-01-11 22:46:04 +08:00
2025-01-11 22:46:04 +08:00
2024-12-05 10:16:51 -05:00
2024-10-22 10:29:27 +03:00
2025-01-11 22:51:47 +08:00
2025-01-11 22:51:47 +08:00
2025-01-24 19:29:24 +08:00
2025-01-24 19:29:24 +08:00
2024-10-23 20:37:38 +04:00
2024-11-13 10:35:22 +01:00
2024-12-05 10:16:51 -05:00
2024-10-09 18:19:57 -04:00