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
..
2024-11-18 15:28:17 -06:00
2025-10-10 05:56:37 +00:00
2025-07-02 16:55:24 +02:00
2024-10-25 11:24:47 -07:00
2024-06-18 20:46:53 -04:00
2025-12-16 09:52:07 +01:00
2025-09-29 20:24:59 +05:30
2026-02-09 08:12:34 +01:00
2024-05-04 23:08:11 -07:00
2025-09-15 16:55:00 +00:00
2025-04-02 19:51:40 +02:00
2024-10-22 12:32:08 -07:00
2024-10-31 02:19:20 -07:00
2024-06-07 11:50:23 +01:00
2024-06-07 11:50:23 +01:00
2025-02-19 10:11:48 +01:00
2024-11-26 23:37:05 -05:00
2025-02-19 10:11:48 +01:00
2025-09-17 13:02:02 -07:00
2026-02-09 09:57:27 +01:00
2026-01-07 06:12:19 +00:00
2025-10-22 17:46:33 -07:00
2026-01-19 18:16:29 -05:00
2026-01-20 11:48:52 -05:00
2025-04-02 20:00:09 +02:00
2025-05-19 07:15:04 -07:00
2025-08-05 11:04:15 -06:00
2025-08-05 11:04:15 -06:00
2025-08-05 11:04:15 -06:00
2025-08-05 11:04:15 -06:00
2024-07-18 15:33:03 -04:00
2024-07-18 16:34:59 -04:00
2025-07-16 07:23:09 -06:00
2025-07-16 07:23:09 -06:00
2026-02-09 08:45:13 +01:00
2026-01-19 18:16:29 -05:00
2025-10-30 22:20:28 +05:30
2025-10-30 22:20:28 +05:30
2025-10-10 15:26:08 +05:30
2025-10-10 15:26:08 +05:30
2025-10-10 15:26:08 +05:30
2025-10-10 15:26:08 +05:30
2025-07-19 03:44:14 -03:00
2025-06-13 06:45:40 -04:00
2026-01-26 08:13:22 +08:00
2026-01-19 16:04:59 +08:00
2025-11-21 09:17:43 +08:00
2025-12-08 21:56:35 +05:30
2025-12-10 18:25:47 +08:00
2025-05-02 12:23:40 -04:00
2025-03-16 16:21:46 -07:00
2026-02-11 15:47:36 +00:00
2026-02-11 12:31:17 +08:00
2024-05-04 23:08:11 -07:00
2026-01-26 08:13:22 +08:00
2025-09-15 16:55:00 +00:00
2024-09-16 07:46:58 -04:00
2024-05-23 14:50:29 -04:00