Skip to content

Commit

Permalink
issue #10828 Duplicate (double) documentation generated for friend fu…
Browse files Browse the repository at this point in the history
…nction
  • Loading branch information
doxygen committed Apr 29, 2024
1 parent ebaf6e1 commit 6b3a41e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/classdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ void ClassDefImpl::internalInsertMember(MemberDef *md,
bool addToAllList
)
{
//printf("%s:insertInternalMember(%s) isHidden()=%d\n",qPrint(name()),qPrint(md->name()),md->isHidden());
AUTO_TRACE("{} name={} isHidden={}",name(),md->name(),md->isHidden());
if (md->isHidden()) return;

if (getLanguage()==SrcLangExt::VHDL)
Expand Down Expand Up @@ -4305,6 +4305,7 @@ MemberList *ClassDefImpl::getMemberList(MemberListType lt) const

void ClassDefImpl::addMemberToList(MemberListType lt,MemberDef *md,bool isBrief)
{
AUTO_TRACE("{} md={} lt={} isBrief={}",name(),md->name(),(int)lt,isBrief);
bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
bool sortMemberDocs = Config_getBool(SORT_MEMBER_DOCS);
const auto &ml = m_impl->memberLists.get(lt,MemberListContainer::Class);
Expand Down
4 changes: 2 additions & 2 deletions src/doxygen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6550,9 +6550,9 @@ static void findMember(const Entry *root,
}
if (rmd_found) // member already exists as rmd -> add docs
{
//printf("addMemberDocs for related member %s\n",qPrint(root->name));
//rmd->setMemberDefTemplateArguments(root->mtArgList);
AUTO_TRACE_ADD("addMemberDocs for related member {}",root->name);
addMemberDocs(root,rmd_found,funcDecl,nullptr,overloaded,spec);
newMember=false;
}
}

Expand Down

0 comments on commit 6b3a41e

Please sign in to comment.