docs(union): changelog entry + port-checklist annotations

The two kernel port checklists record the extractor configs as surveyed
at porting time; their structTypes lines are marked superseded rather
than rewritten, so the surveys stay readable as history.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
ctype_lab
2026-08-06 15:47:09 +09:00
co-authored by Claude Opus 5
parent 11acc504b5
commit 86854cd0d7
3 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -139,7 +139,10 @@ walker mirrors, with file:line anchors (as of `705e501`). Read WITH
## Extractor configs (languages/c-cpp.ts — read the whole file when porting)
**cExtractor (line 180):** functionTypes=[function_definition]; NO
class/method/interface types; structTypes=[struct_specifier];
class/method/interface types; structTypes=[struct_specifier]
(superseded: `union_specifier` joined structTypes — a named `union U { … };`
is a definition, extracted with kind `struct`, and `typedef union { … } N;`
resolves through resolveTypeAliasKind like `typedef struct`);
enumTypes=[enum_specifier]; enumMemberTypes=[enumerator];
typeAliasTypes=[type_definition]; importTypes=[preproc_include];
callTypes=[call_expression]; variableTypes=[declaration];