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-05-21 00:02:29 +00:00
2026-04-23 20:11:04 +00:00
2026-05-14 08:29:17 +00:00
2026-07-11 01:22:44 +00:00
2026-07-29 16:07:10 +00:00
2026-06-11 16:45:39 +00:00
2026-06-11 16:45:39 +00:00
2025-11-14 00:40:26 +00:00
2026-06-08 02:42:23 +00:00
2026-06-19 00:22:05 +00:00
2026-06-07 16:27:22 +00:00
2026-06-07 16:27:22 +00:00
2026-06-15 20:30:07 +00:00
2026-07-29 19:27:05 +00:00
2026-06-08 02:42:23 +00:00
2026-07-11 01:22:44 +00:00
2025-07-02 19:21:01 +00:00
2026-06-04 00:33:33 +00:00
2026-04-24 17:33:23 +00:00
2026-04-24 17:33:23 +00:00
2026-07-28 00:19:40 +00:00
2026-07-28 00:19:40 +00:00
2026-01-30 22:24:18 +00:00
2026-01-30 22:24:18 +00:00
2026-05-14 08:29:17 +00:00
2026-06-07 16:27:22 +00:00
2026-07-20 21:45:17 +00:00
2026-07-20 21:45:17 +00:00
2026-06-07 16:27:22 +00:00
2026-04-23 20:11:04 +00:00
2026-07-20 19:15:09 +00:00
2026-07-20 19:15:09 +00:00
2026-07-14 22:58:05 +00:00
2026-07-14 22:58:05 +00:00
2026-06-13 00:22:00 +00:00
2026-02-18 22:17:15 +00:00
2025-04-25 16:06:10 +00:00
2026-06-29 17:41:23 +00:00
2026-06-25 22:46:48 +00:00
2026-06-01 19:02:01 +00:00
2026-06-01 19:02:01 +00:00
2026-07-20 19:15:09 +00:00
2026-07-20 21:45:17 +00:00
2026-02-25 23:18:09 +00:00
2026-02-25 23:18:09 +00:00
2026-07-22 20:25:41 +00:00
2026-07-20 19:15:09 +00:00
2026-05-14 08:29:17 +00:00
2026-07-15 18:42:03 +00:00
2026-05-14 08:29:17 +00:00
2026-07-11 01:22:44 +00:00
2026-07-20 19:15:09 +00:00
2026-07-20 21:45:17 +00:00
2026-07-20 21:45:17 +00:00
2025-07-10 21:21:19 +00:00
2026-07-08 17:07:10 +00:00
2026-07-20 19:15:09 +00:00
2026-07-20 19:15:09 +00:00
2026-07-29 16:25:23 +00:00
2025-10-30 18:03:34 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2026-06-29 17:41:23 +00:00
2026-07-29 16:25:23 +00:00
2026-05-19 23:16:51 +00:00
2026-03-24 20:56:44 +00:00
2026-07-29 16:25:23 +00:00
2026-06-26 18:53:26 +00:00
2026-07-20 19:15:09 +00:00
2026-07-08 17:07:10 +00:00
2026-07-14 22:58:05 +00:00
2026-07-14 22:58:05 +00:00
2026-05-14 08:29:17 +00:00
2026-07-08 17:07:10 +00:00
2026-07-29 16:07:10 +00:00
2026-07-29 16:07:10 +00:00
2026-02-19 16:24:07 +00:00
2026-06-01 19:19:08 +00:00
2026-06-07 16:27:22 +00:00
2026-06-08 02:42:23 +00:00
2026-06-08 02:42:23 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2026-07-08 17:07:10 +00:00
2026-07-08 17:07:10 +00:00
2026-06-13 00:22:00 +00:00
2025-11-13 17:04:58 +00:00
2026-06-15 20:30:07 +00:00
2026-06-15 20:30:07 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2026-01-07 00:54:18 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2025-11-13 23:00:20 +00:00
2026-07-29 16:25:23 +00:00
2026-07-20 19:15:09 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2026-06-09 21:10:18 +00:00
2026-06-07 16:27:22 +00:00
2026-04-16 22:37:48 +00:00
2026-07-29 16:25:23 +00:00
2026-05-11 14:17:18 +00:00
2026-07-07 13:30:53 +00:00
2026-07-07 13:30:53 +00:00
2025-04-25 16:06:10 +00:00
2026-07-29 16:25:23 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2026-07-20 19:15:09 +00:00