ignore pointer types in structs and unions when calculating the order of declarations