File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -125,11 +125,14 @@ static void writeBoxMemberList(TextStream &t,
125
125
constexpr auto br = " <BR ALIGN=\" LEFT\" />" ;
126
126
if (ml)
127
127
{
128
+ auto hideUndocMembers = Config_getEnum (HIDE_UNDOC_MEMBERS);
128
129
int totalCount=0 ;
129
130
for (const auto &mma : *ml)
130
131
{
131
132
if (mma->getClassDef ()==scope &&
132
- (skipNames==nullptr || skipNames->find (mma->name ().str ())==std::end (*skipNames)))
133
+ (skipNames==nullptr || skipNames->find (mma->name ().str ())==std::end (*skipNames)) &&
134
+ !(hideUndocMembers && !mma->hasDocumentation ())
135
+ )
133
136
{
134
137
totalCount++;
135
138
}
@@ -140,7 +143,9 @@ static void writeBoxMemberList(TextStream &t,
140
143
for (const auto &mma : *ml)
141
144
{
142
145
if (mma->getClassDef () == scope &&
143
- (skipNames==nullptr || skipNames->find (mma->name ().str ())==std::end (*skipNames)))
146
+ (skipNames==nullptr || skipNames->find (mma->name ().str ())==std::end (*skipNames)) &&
147
+ !(hideUndocMembers && !mma->hasDocumentation ())
148
+ )
144
149
{
145
150
int numFields = Config_getInt (UML_LIMIT_NUM_FIELDS);
146
151
if (numFields>0 && (totalCount>numFields*3 /2 && count>=numFields))
You can’t perform that action at this time.
0 commit comments