Repository navigation
Commit d64f7e5
committed
fix(extract): name an anonymous C typedef aggregate once
Main (DeusData#2458) named the anonymous struct/union/enum of `typedef struct { ... } Name;` in extract_class_def from the typedef's declarator. This branch's extract_c_typedef already emits that aggregate as Name from the type_definition, so on the merged tree Name was emitted twice under one label: its members twice and a false variants entry. extract_c_typedef stays the one place that names it; the extract_class_def case is removed. Both typedef test sets pass on the result: DeusData#2458's extract_c_anonymous_typedef_aggregate_is_named_by_its_typedef and member-access tests, and this branch's C1 typedef/variant tests (extraction, pipeline, registry, graph_buffer, store_search, mcp: 1,336 passed, 4 skipped).
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent d050fca commit d64f7e5
1 file changed
Lines changed: 3 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7379 | 7379 | | |
7380 | 7380 | | |
7381 | 7381 | | |
7382 | | - | |
7383 | | - | |
7384 | | - | |
7385 | | - | |
7386 | | - | |
7387 | | - | |
7388 | | - | |
7389 | | - | |
7390 | | - | |
7391 | | - | |
7392 | | - | |
7393 | | - | |
7394 | | - | |
7395 | | - | |
7396 | | - | |
7397 | | - | |
7398 | | - | |
7399 | | - | |
7400 | | - | |
7401 | | - | |
7402 | | - | |
| 7382 | + | |
| 7383 | + | |
| 7384 | + | |
7403 | 7385 | | |
7404 | 7386 | | |
7405 | 7387 | | |
| |||
0 commit comments