summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-08-05 12:03:04 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-08-05 12:03:04 (GMT)
commit0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68 (patch)
treeae6f91b471c21991428c9b75a29ff8df55d1889d /src/memberdef.cpp
parent071e39254b00ad7ffed5de8cdeb44072278d4d57 (diff)
downloadDoxygen-0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68.zip
Doxygen-0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68.tar.gz
Doxygen-0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68.tar.bz2
Release-1.2.9.1
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 3b22fd7..9c04b94 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -553,7 +553,8 @@ bool MemberDef::isBriefSectionVisible() const
// only include members that are non-private unless EXTRACT_PRIVATE is
// set to YES or the member is part of a group
bool visibleIfPrivate = (protection()!=Private ||
- Config_getBool("EXTRACT_PRIVATE")
+ Config_getBool("EXTRACT_PRIVATE") ||
+ mtype==Friend
);
bool visible = visibleIfStatic && visibleIfDocumented &&
@@ -666,7 +667,7 @@ void MemberDef::writeDeclaration(OutputList &ol,
if (tArgList)
{
writeTemplatePrefix(ol,tArgList);
- ol.lineBreak();
+ //ol.lineBreak();
}
QCString ltype(type);
@@ -879,7 +880,8 @@ bool MemberDef::isDetailedSectionLinkable() const
// only include members that are non-private unless EXTRACT_PRIVATE is
// set to YES or the member is part of a group
bool privateFilter = (protection()!=Private ||
- Config_getBool("EXTRACT_PRIVATE")
+ Config_getBool("EXTRACT_PRIVATE") ||
+ mtype==Friend
);
// member is part of an anonymous scope that is the type of
@@ -1198,9 +1200,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
if (a->hasDocumentation())
{
ol.startDescTableTitle();
- ol.startEmphasis();
ol.docify(a->name);
- ol.endEmphasis();
ol.endDescTableTitle();
ol.startDescTableData();
parseDoc(ol,m_defFileName,m_defLine,scopeName,name(),a->docs+"\n");
@@ -1475,7 +1475,8 @@ bool MemberDef::isLinkableInProject() const
return !name().isEmpty() && name().at(0)!='@' &&
((hasDocumentation() && !isReference())
) &&
- (prot!=Private || Config_getBool("EXTRACT_PRIVATE")) && // not a private class member
+ (prot!=Private || Config_getBool("EXTRACT_PRIVATE") ||
+ mtype==Friend) && // not a hidden member due to protection
(classDef!=0 || Config_getBool("EXTRACT_STATIC") ||
!isStatic()); // not a static file/namespace member
}