diff options
| author | Petr Machata <[email protected]> | 2010-08-27 18:14:36 +0200 |
|---|---|---|
| committer | Petr Machata <[email protected]> | 2010-08-27 18:14:36 +0200 |
| commit | 1eb04c68e68b5c066d51ea8982efe7c1446382fe (patch) | |
| tree | 216bf00f7e841e32fb40cb87034ad0f8b71e61b5 /dwarflint/dwarflint.cc | |
| parent | 3cf2d06afebe502e85e4ccc466a6c71640b8a12d (diff) | |
dwarflint: Change registrar::item::list to registrar::item::descriptor
- with appropriate change in semantics
- change the way the checks are listed
Diffstat (limited to 'dwarflint/dwarflint.cc')
| -rw-r--r-- | dwarflint/dwarflint.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/dwarflint/dwarflint.cc b/dwarflint/dwarflint.cc index 20ec0410..b15c3f81 100644 --- a/dwarflint/dwarflint.cc +++ b/dwarflint/dwarflint.cc @@ -101,13 +101,10 @@ dwarflint::check_registrar::list_checks () const { for (std::vector <item *>::const_iterator it = _m_items.begin (); it != _m_items.end (); ++it) - (*it)->list (); -} - -void -dwarflint::list_check (checkdescriptor const &cd) -{ - std::cout << cd.name << std::endl; + { + checkdescriptor const &cd = (*it)->descriptor (); + std::cout << cd.name << ' ' << cd.groups << std::endl; + } } namespace |
