| 475 | } |
| 476 | |
| 477 | void |
| 478 | Bookkeeper::record_vars_with_bitfields(const Type *type) |
| 479 | { |
| 480 | assert(type); |
| 481 | const Type *base_type = type->get_base_type(); |
| 482 | if (!base_type->is_aggregate() || |
| 483 | (!base_type->has_bitfields())) |
| 484 | return; |
| 485 | |
| 486 | int level = type->get_indirect_level(); |
| 487 | incr_counter(Bookkeeper::vars_with_bitfields, level); |
| 488 | if (type->is_full_bitfields_struct()) |
| 489 | incr_counter(Bookkeeper::vars_with_full_bitfields, level); |
| 490 | } |
| 491 | |
| 492 | void |
| 493 | Bookkeeper::record_type_with_bitfields(const Type *typ) |
nothing calls this directly
no test coverage detected