summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-12-29 18:30:48 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-12-29 18:30:48 (GMT)
commitff11b7d98ad7d24770afd151aa6b439adc7506d2 (patch)
tree048517043e4c90dcc686bc038b480825fe32886c /src/memberlist.cpp
parent414d7b3bbfad8ec16237c3708af188ecaee62886 (diff)
downloadDoxygen-ff11b7d98ad7d24770afd151aa6b439adc7506d2.zip
Doxygen-ff11b7d98ad7d24770afd151aa6b439adc7506d2.tar.gz
Doxygen-ff11b7d98ad7d24770afd151aa6b439adc7506d2.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: