@@ -2281,7 +2281,7 @@ void ClassDefImpl::writeSummaryLinks(OutputList &ol) const
22812281 else if (lde->kind ()==LayoutDocEntry::MemberDecl)
22822282 {
22832283 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
2284- if (lmd)
2284+ if (lmd && lmd-> visible () )
22852285 {
22862286 MemberList * ml = getMemberList (lmd->type );
22872287 if (ml && ml->declVisible ())
@@ -2386,7 +2386,7 @@ void ClassDefImpl::writeTagFile(TextStream &tagFile) const
23862386 case LayoutDocEntry::MemberDecl:
23872387 {
23882388 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
2389- if (lmd)
2389+ if (lmd && lmd-> visible () )
23902390 {
23912391 MemberList * ml = getMemberList (lmd->type );
23922392 if (ml)
@@ -2485,7 +2485,7 @@ void ClassDefImpl::writeInlineDocumentation(OutputList &ol) const
24852485 case LayoutDocEntry::MemberDecl:
24862486 {
24872487 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
2488- if (lmd)
2488+ if (lmd && lmd-> visible () )
24892489 {
24902490 ClassDefSet visitedClasses;
24912491 if (!isSimple) writeMemberDeclarations (ol,visitedClasses,lmd->type ,lmd->title (lang),lmd->subtitle (lang),TRUE );
@@ -2504,7 +2504,7 @@ void ClassDefImpl::writeInlineDocumentation(OutputList &ol) const
25042504 case LayoutDocEntry::MemberDef:
25052505 {
25062506 const LayoutDocEntryMemberDef *lmd = dynamic_cast <const LayoutDocEntryMemberDef*>(lde.get ());
2507- if (lmd)
2507+ if (lmd && lmd-> visible () )
25082508 {
25092509 if (isSimple)
25102510 {
@@ -2784,7 +2784,7 @@ void ClassDefImpl::writeDocumentationContents(OutputList &ol,const QCString & /*
27842784 {
27852785 ClassDefSet visitedClasses;
27862786 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
2787- if (lmd)
2787+ if (lmd && lmd-> visible () )
27882788 {
27892789 writeMemberDeclarations (ol,visitedClasses,lmd->type ,lmd->title (lang),lmd->subtitle (lang));
27902790 }
@@ -2820,7 +2820,7 @@ void ClassDefImpl::writeDocumentationContents(OutputList &ol,const QCString & /*
28202820 case LayoutDocEntry::MemberDef:
28212821 {
28222822 const LayoutDocEntryMemberDef *lmd = dynamic_cast <const LayoutDocEntryMemberDef*>(lde.get ());
2823- if (lmd)
2823+ if (lmd && lmd-> visible () )
28242824 {
28252825 writeMemberDocumentation (ol,lmd->type ,lmd->title (lang));
28262826 }
@@ -3539,7 +3539,7 @@ void ClassDefImpl::writeDeclaration(OutputList &ol,const MemberDef *md,bool inGr
35393539 if (lde->kind ()==LayoutDocEntry::MemberDecl)
35403540 {
35413541 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
3542- if (lmd)
3542+ if (lmd && lmd-> visible () )
35433543 {
35443544 writePlainMemberDeclaration (ol,lmd->type ,inGroup,indentLevel,inheritedFrom,inheritId);
35453545 }
@@ -4620,7 +4620,7 @@ void ClassDefImpl::setAnonymousEnumType()
46204620 if (lde->kind ()==LayoutDocEntry::MemberDecl)
46214621 {
46224622 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
4623- if (lmd)
4623+ if (lmd && lmd-> visible () )
46244624 {
46254625 MemberList * ml = getMemberList (lmd->type );
46264626 if (ml)
@@ -4698,7 +4698,7 @@ void ClassDefImpl::getTitleForMemberListType(MemberListType type,
46984698 if (lde->kind ()==LayoutDocEntry::MemberDecl)
46994699 {
47004700 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
4701- if (lmd && lmd->type ==type)
4701+ if (lmd && lmd->type ==type && lmd-> visible () )
47024702 {
47034703 title = lmd->title (lang);
47044704 subtitle = lmd->subtitle (lang);
@@ -4718,7 +4718,7 @@ int ClassDefImpl::countAdditionalInheritedMembers() const
47184718 if (lde->kind ()==LayoutDocEntry::MemberDecl)
47194719 {
47204720 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
4721- if (lmd && lmd->type !=MemberListType::Friends ()) // friendship is not inherited
4721+ if (lmd && lmd->visible () && lmd-> type !=MemberListType::Friends ()) // friendship is not inherited
47224722 {
47234723 ClassDefSet visited;
47244724 totalCount+=countInheritedDecMembers (lmd->type ,this ,TRUE ,FALSE ,visited);
@@ -4737,7 +4737,7 @@ void ClassDefImpl::writeAdditionalInheritedMembers(OutputList &ol) const
47374737 if (lde->kind ()==LayoutDocEntry::MemberDecl)
47384738 {
47394739 const LayoutDocEntryMemberDecl *lmd = dynamic_cast <const LayoutDocEntryMemberDecl*>(lde.get ());
4740- if (lmd && lmd->type !=MemberListType::Friends ())
4740+ if (lmd && lmd->visible () && lmd-> type !=MemberListType::Friends ())
47414741 {
47424742 ClassDefSet visited;
47434743 writeInheritedMemberDeclarations (ol,visited,lmd->type ,MemberListType::Invalid (),lmd->title (getLanguage ()),this ,TRUE ,FALSE );
0 commit comments