[CLASSES]: Discard DW_TAG_formal_parameter when processing classes

Only needed, so far, when processing functions, have to reenable this in the
future when we got to handle it.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2006-12-28 14:35:44 -02:00
parent ded72c80bd
commit 3e177d577a
1 changed files with 3 additions and 0 deletions

View File

@ -1818,6 +1818,9 @@ static void cu__process_class(Dwarf *dwarf, Dwarf_Die *die, struct class *class,
class__add_member(class, member);
}
break;
case DW_TAG_formal_parameter:
/* Discard for now */
goto next_sibling;
case DW_TAG_structure_type:
/*
* structs within structs: C++