diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-12 13:23:54 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-12 13:23:54 +0200 |
| commit | 768537d6e4b82a19e77b7e44234309ecaf4d65d2 (patch) | |
| tree | ab22613a16c3a914b16d00a5f988f51d1eadac0d /gcc | |
| parent | 14d4977e2ab2409bb7344395ca01d19e49f130f1 (diff) | |
| download | elna-768537d6e4b82a19e77b7e44234309ecaf4d65d2.tar.gz | |
Remove unions
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/gcc/elna-builtins.cc | 8 | ||||
| -rw-r--r-- | gcc/gcc/elna-diagnostic.cc | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/gcc/gcc/elna-builtins.cc b/gcc/gcc/elna-builtins.cc index 7817c7e..42ddcfe 100644 --- a/gcc/gcc/elna-builtins.cc +++ b/gcc/gcc/elna-builtins.cc @@ -140,14 +140,6 @@ namespace elna::gcc return composite_type_node; } - else if (auto reference = type.get<boot::union_type>()) - { - tree composite_type_node = make_node(UNION_TYPE); - - build_composite_type(reference->fields, composite_type_node, symbols); - - return composite_type_node; - } else if (auto reference = type.get<boot::enumeration_type>()) { return build_enumeration_type(reference->members); diff --git a/gcc/gcc/elna-diagnostic.cc b/gcc/gcc/elna-diagnostic.cc index 509871c..42db5c9 100644 --- a/gcc/gcc/elna-diagnostic.cc +++ b/gcc/gcc/elna-diagnostic.cc @@ -143,10 +143,6 @@ namespace elna::gcc { return print_aggregate_name(unqualified_type, "record"); } - else if (code == UNION_TYPE) - { - return print_aggregate_name(unqualified_type, "union"); - } else if (code == ENUMERAL_TYPE) { return print_aggregate_name(unqualified_type, "enumeration"); |
