Ignore DW_TAG_padding in tag_is_type

DW_TAG_padding isn't a real tag -- it doesn't appear in the DWARF
standard, only in include/dwarf2.def as a placeholder.  So, remove it
from dwarf2/tag.h:tag_is_type.

Reviewed-By: Tom de Vries <tdevries@suse.de>
This commit is contained in:
Tom Tromey 2024-09-06 10:52:54 -06:00
parent 1afe02759f
commit 86d6495bd4

View File

@ -30,7 +30,6 @@ tag_is_type (dwarf_tag tag)
{
switch (tag)
{
case DW_TAG_padding:
case DW_TAG_array_type:
case DW_TAG_class_type:
case DW_TAG_enumeration_type: