Added support for class scope filtering

This commit is contained in:
Bartek Kryza
2021-06-20 17:34:07 +02:00
parent e8fecbac64
commit 47c025532c
2 changed files with 49 additions and 5 deletions

View File

@@ -155,6 +155,9 @@ public:
// Process methods
//
for (const auto &m : c.methods) {
if (!m_config.should_include(m.scope))
continue;
if (m.is_pure_virtual)
ostr << "{abstract} ";
@@ -196,6 +199,9 @@ public:
// Process members
//
for (const auto &m : c.members) {
if (!m_config.should_include(m.scope))
continue;
if (m.is_static)
ostr << "{static} ";