This patch merges the DW_TAG_typedef case in new_symbol with some
other type-related cases. These all have identical code.
Reviewed-By: Guinevere Larsen <blarsen@redhat.com>
}
}
break;
- case DW_TAG_typedef:
- sym->set_aclass_index (LOC_TYPEDEF);
- sym->set_domain (VAR_DOMAIN);
- list_to_add = cu->list_in_scope;
- break;
case DW_TAG_unspecified_type:
if (cu->lang () == language_ada)
break;
/* FALLTHROUGH */
+ case DW_TAG_typedef:
case DW_TAG_array_type:
case DW_TAG_base_type:
case DW_TAG_subrange_type: