summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-12-29 18:30:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-12-29 18:30:48 (GMT)
commitad53b7bebd3042598e5a11b1f3ef29468815138b (patch)
tree048517043e4c90dcc686bc038b480825fe32886c /src/memberlist.cpp
parent7e4d434c3650bb9f7e5f460b1dbf6fed8be04a5f (diff)
downloadDoxygen-ad53b7bebd3042598e5a11b1f3ef29468815138b.zip
Doxygen-ad53b7bebd3042598e5a11b1f3ef29468815138b.tar.gz
Doxygen-ad53b7bebd3042598e5a11b1f3ef29468815138b.tar.bz2
Release-1.2.13
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp50
1 files changed, 2 insertions, 48 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index af318e3..fdffc33 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -373,54 +373,8 @@ void MemberList::writePlainDeclarations(OutputList &ol,
}
case MemberDef::Friend:
{
-#if 0
- //printf("Writing friend `%s'\n",md->name().data());
- QCString type=md->typeString();
- //printf("Friend: type=%s name=%s\n",type.data(),md->name().data());
- bool isFriendClass = type=="friend class";
- if (!isFriendClass)
- {
-#endif
- if (first) ol.startMemberList(),first=FALSE;
- md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup);
-#if 0
- }
- else // isFriendClass
- // friend is undocumented as a member but it is a class,
- // so generate a link to the class if that is documented.
- {
- ClassDef *cd=getClass(md->name());
- if (md->hasDocumentation()) // friend is documented
- {
- if (first) ol.startMemberList(),first=FALSE;
- ol.startMemberItem(0);
- ol.docify("class ");
- ol.insertMemberAlign();
- ol.writeObjectLink(0,0,md->anchor(),md->name());
- ol.endMemberItem(FALSE);
- }
- else if (cd && cd->isLinkable()) // class is documented
- {
- if (first) ol.startMemberList(),first=FALSE;
- ol.startMemberItem(0);
- ol.docify("class ");
- ol.insertMemberAlign();
- ol.writeObjectLink(cd->getReference(),cd->getOutputFileBase(),0,cd->name());
- ol.endMemberItem(FALSE);
- }
- else if (!Config_getBool("HIDE_UNDOC_MEMBERS")) // no documentation
- {
- if (first) ol.startMemberList(),first=FALSE;
- ol.startMemberItem(0);
- ol.docify("class ");
- ol.insertMemberAlign();
- ol.startBold();
- ol.docify(md->name());
- ol.endBold();
- ol.endMemberItem(FALSE);
- }
- }
-#endif
+ if (first) ol.startMemberList(),first=FALSE;
+ md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup);
break;
}
case MemberDef::EnumValue: