Karl Friebel
0776af16c5
[Clang] [Sema] Fix FixIt for implicit-int diagnostics. ( #179356 )
...
When encountering a declaration without a type specifier, in contexts
where they could reasonably be assumed to default to int, clang emits a
diagnostic with FixIt. This FixIt does not produce working code.
This patch updates `SemaType` to correctly insert a single int type
specifier per group of declarations, and adds coverage in the FixIt lit test suite.
Fixes #179354
2026-02-11 15:47:36 +00: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
2024-05-04 23:08:11 -07:00
2023-08-28 12:13:42 -04:00
2025-01-18 19:16:33 +01:00
2024-09-03 13:34:43 -07:00
2025-04-15 04:18:23 -03:00
2024-05-07 15:23:50 -04:00
2024-05-07 15:23:50 -04:00
2025-01-18 19:16:33 +01:00
2025-08-02 16:53:06 +08:00
2023-08-28 12:13:42 -04:00
2025-10-16 18:28:38 +02:00
2025-12-03 16:20:12 +02:00
2023-10-02 14:33:02 +02:00
2025-08-23 09:14:16 +00:00
2024-05-04 23:08:11 -07:00
2025-07-19 03:44:14 -03:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07: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
2026-02-11 15:47:36 +00:00
2023-08-28 12:13:42 -04:00
2024-10-18 21:16:50 +01:00
2023-08-28 12:13:42 -04:00
2025-09-15 16:55:00 +00: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-08-28 12:13:42 -04:00
2025-06-14 15:03:23 +02:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2025-06-15 00:01:25 +03:00
2025-06-03 17:57:01 -07:00
2024-05-04 23:08:11 -07:00
2023-08-28 12:13:42 -04:00
2025-05-08 01:41:57 +02:00
2024-04-22 10:17:12 -07:00
2025-11-17 08:45:08 -05:00
2025-07-19 03:44:14 -03:00
2024-10-02 16:40:06 +02:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2024-05-04 23:08:11 -07: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
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2024-05-04 23:08:11 -07:00
2023-08-10 09:43:20 +02:00