Nicholas Bishop
f4e7a84df2
Remove Class::fields_exported ( #7586 )
...
In preparation for exporting specific classes, remove `fields_exported`.
A class's fields will be exported for each specific, so a single boolean
won't work.
Instead, check in `ExportAllFieldsToCpp` if `clang_decls` already has an
export for this field, and skip if so. Once specifics are supported,
this lookup will use both the field's `InstId` and `SpecificId`.
The above changes aren't quite sufficient, because if a field fails to
be exported, it will keep being attempted on each call to
`ExportAllFieldsToCpp` resulting in multiple errors. Fix this by storing
an invalid `FieldDecl` in `ClangDeclStore` if an error occurs. This lets
`ExportAllFieldsToCpp` know not to reattempt export, and
`ExportFieldToCpp` returns `nullptr` for invalid fields same as before.
2026-07-29 19:27:05 +00:00
..
2026-07-29 19:27:05 +00:00
2026-07-29 17:28:54 +00:00
2026-06-25 22:46:48 +00:00
2026-06-25 22:46:48 +00:00
2026-07-29 16:25:23 +00:00
2026-06-13 00:22:00 +00:00
2026-04-29 18:33:53 +00:00
2026-07-28 00:19:40 +00:00
2026-07-28 00:19:40 +00:00
2026-07-28 00:19:40 +00:00
2026-07-28 00:19:40 +00:00
2026-06-30 19:36:38 +00:00
2026-05-18 20:09:17 +00:00
2026-07-29 16:25:23 +00:00
2026-07-29 16:25:23 +00:00
2026-07-16 15:12:39 +00:00
2026-07-16 15:12:39 +00:00
2026-07-11 01:22:44 +00:00
2026-06-10 15:30:43 +00:00
2025-12-11 21:41:47 +00:00
2026-06-04 00:33:33 +00:00
2025-12-11 21:41:47 +00:00
2026-07-22 18:08:35 +00:00
2026-06-16 19:51:11 +00:00
2026-05-18 20:09:17 +00:00
2026-07-11 01:22:44 +00:00
2026-07-11 01:22:44 +00:00
2026-07-11 01:22:44 +00:00
2026-07-09 20:38:56 +00:00
2026-06-09 21:10:18 +00:00
2026-07-20 19:15:09 +00:00
2026-02-04 17:24:55 +00:00
2026-02-25 15:15:29 +00:00
2026-07-29 16:25:23 +00:00
2026-07-20 19:15:09 +00:00
2026-04-29 18:13:42 +00:00
2026-07-20 19:15:09 +00:00
2026-03-27 19:36:52 +00:00
2026-07-29 16:25:23 +00:00
2026-07-22 16:45:00 +00:00
2026-07-08 19:33:46 +00:00
2026-07-08 19:33:46 +00:00
2026-07-14 00:59:22 +00:00
2026-06-10 15:30:43 +00:00
2026-02-19 16:24:07 +00:00
2026-07-11 01:22:44 +00:00
2026-07-29 16:25:23 +00:00
2026-07-13 21:11:31 +00:00
2026-05-18 20:09:17 +00:00
2026-05-18 20:09:17 +00:00
2026-07-16 19:00:06 +00:00
2026-07-22 16:45:00 +00:00
2025-12-30 19:18:34 +00:00
2026-06-29 17:41:23 +00:00
2026-05-01 22:45:22 +00:00
2026-07-16 15:12:39 +00:00
2026-07-16 15:12:39 +00:00
2026-03-06 17:35:48 +00:00
2026-07-14 00:59:22 +00:00
2026-07-14 00:59:22 +00:00
2026-07-16 15:12:39 +00:00
2026-07-29 16:25:23 +00:00
2026-03-31 22:27:43 +00:00
2026-02-09 22:00:21 +00:00
2026-05-21 21:21:50 +00:00
2026-07-08 17:07:10 +00:00
2026-01-14 16:58:15 +00:00
2026-07-16 15:12:39 +00:00
2026-06-11 16:45:39 +00:00
2026-07-16 15:12:39 +00:00
2026-07-13 19:14:38 +00:00
2026-03-10 20:04:28 +00:00
2026-05-18 20:09:17 +00:00
2026-06-13 00:22:00 +00:00
2026-03-26 15:26:56 +00:00
2026-05-21 00:02:29 +00:00
2026-07-08 17:07:10 +00:00
2026-06-25 00:07:39 +00:00
2026-07-01 19:15:34 +00:00
2026-07-20 19:15:09 +00:00
2026-05-02 01:09:50 +00:00
2026-02-09 22:00:21 +00:00
2026-07-29 16:25:23 +00:00
2026-07-29 16:25:23 +00:00
2026-07-29 16:25:23 +00:00
2026-07-27 14:49:06 +00:00
2026-07-29 16:25:23 +00:00
2026-07-29 16:25:23 +00:00
2026-07-29 16:25:23 +00:00
2026-06-29 17:41:23 +00:00
2026-03-24 20:56:44 +00:00
2025-11-11 16:36:15 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-07-08 18:04:56 +00:00
2026-02-19 16:24:07 +00:00
2026-07-13 19:14:38 +00:00
2026-02-19 23:33:36 +00:00
2026-06-05 22:33:30 +00:00
2026-02-26 20:10:50 +00:00
2026-07-08 18:04:56 +00:00
2026-02-25 15:15:29 +00:00
2026-07-08 16:24:41 +00:00
2026-06-09 21:10:18 +00:00
2026-05-19 18:01:54 +00:00
2026-02-19 16:24:07 +00:00
2026-07-16 19:00:06 +00:00
2026-07-16 19:00:06 +00:00
2026-07-20 19:15:09 +00:00
2026-05-13 17:16:02 +00:00
2025-12-09 20:38:50 +00:00
2025-12-09 20:38:50 +00:00
2026-01-14 19:32:03 +00:00
2026-07-29 16:25:23 +00:00
2026-07-11 01:22:44 +00:00
2026-02-25 15:15:29 +00:00
2026-07-13 21:11:31 +00:00
2026-06-13 00:22:00 +00:00
2026-07-01 19:15:34 +00:00
2026-07-01 19:15:34 +00:00
2026-05-04 21:50:13 +00:00
2026-07-29 16:25:23 +00:00
2026-07-11 01:22:44 +00:00
2026-03-28 00:06:06 +00:00
2026-03-26 15:26:56 +00:00
2026-03-26 15:26:56 +00:00
2026-07-14 00:59:22 +00:00
2026-02-19 23:33:36 +00:00
2025-11-14 13:50:56 +00:00
2026-07-16 15:12:39 +00:00
2026-07-16 15:12:39 +00:00
2026-07-20 19:15:09 +00:00
2026-07-07 13:23:47 +00:00
2026-07-24 18:43:12 +00:00
2026-07-24 18:43:12 +00:00
2026-07-29 16:25:23 +00:00
2026-07-29 16:25:23 +00:00
2026-05-11 14:17:18 +00:00
2026-05-07 22:33:47 +00:00
2026-07-20 19:15:09 +00:00
2026-07-20 19:15:09 +00:00
2026-02-26 18:57:15 +00:00
2026-02-19 23:33:36 +00:00