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