@@ -2058,7 +2058,7 @@ static void findUsingDeclImports(const Entry *root)
20582058 root->parent ()->section .isCompound () // in a class/struct member
20592059 )
20602060 {
2061- AUTO_TRACE (" Found using declaration '{}' inside section {:#10x }" , root->name , root->parent ()->section );
2061+ AUTO_TRACE (" Found using declaration '{}' inside section {}" , root->name , root->parent ()->section );
20622062 QCString fullName=removeRedundantWhiteSpace (root->parent ()->name );
20632063 fullName=stripAnonymousNamespaceScope (fullName);
20642064 fullName=stripTemplateSpecifiersFromScope (fullName);
@@ -2093,49 +2093,53 @@ static void findUsingDeclImports(const Entry *root)
20932093 }
20942094 const ArgumentList &templAl = md->templateArguments ();
20952095 const ArgumentList &al = md->argumentList ();
2096- auto newMd = createMemberDef (
2097- fileName,root->startLine ,root->startColumn ,
2098- md->typeString (),memName,md->argsString (),
2099- md->excpString (),root->protection ,root->virt ,
2100- md->isStatic (),Relationship::Member,md->memberType (),
2101- templAl,al,root->metaData
2102- );
2103- auto newMmd = toMemberDefMutable (newMd.get ());
2104- newMmd->setMemberClass (cd);
2105- cd->insertMember (newMd.get ());
2106- if (!root->doc .isEmpty () || !root->brief .isEmpty ())
2107- {
2108- newMmd->setDocumentation (root->doc ,root->docFile ,root->docLine );
2109- newMmd->setBriefDescription (root->brief ,root->briefFile ,root->briefLine );
2110- newMmd->setInbodyDocumentation (root->inbodyDocs ,root->inbodyFile ,root->inbodyLine );
2111- }
2112- else
2096+
2097+ if (!cd->containsOverload (md))
21132098 {
2114- newMmd->setDocumentation (md->documentation (),md->docFile (),md->docLine ());
2115- newMmd->setBriefDescription (md->briefDescription (),md->briefFile (),md->briefLine ());
2116- newMmd->setInbodyDocumentation (md->inbodyDocumentation (),md->inbodyFile (),md->inbodyLine ());
2099+ auto newMd = createMemberDef (
2100+ fileName,root->startLine ,root->startColumn ,
2101+ md->typeString (),memName,md->argsString (),
2102+ md->excpString (),root->protection ,root->virt ,
2103+ md->isStatic (),Relationship::Member,md->memberType (),
2104+ templAl,al,root->metaData
2105+ );
2106+ auto newMmd = toMemberDefMutable (newMd.get ());
2107+ newMmd->setMemberClass (cd);
2108+ cd->insertMember (newMd.get ());
2109+ if (!root->doc .isEmpty () || !root->brief .isEmpty ())
2110+ {
2111+ newMmd->setDocumentation (root->doc ,root->docFile ,root->docLine );
2112+ newMmd->setBriefDescription (root->brief ,root->briefFile ,root->briefLine );
2113+ newMmd->setInbodyDocumentation (root->inbodyDocs ,root->inbodyFile ,root->inbodyLine );
2114+ }
2115+ else
2116+ {
2117+ newMmd->setDocumentation (md->documentation (),md->docFile (),md->docLine ());
2118+ newMmd->setBriefDescription (md->briefDescription (),md->briefFile (),md->briefLine ());
2119+ newMmd->setInbodyDocumentation (md->inbodyDocumentation (),md->inbodyFile (),md->inbodyLine ());
2120+ }
2121+ newMmd->setDefinition (md->definition ());
2122+ newMmd->enableCallGraph (root->callGraph );
2123+ newMmd->enableCallerGraph (root->callerGraph );
2124+ newMmd->enableReferencedByRelation (root->referencedByRelation );
2125+ newMmd->enableReferencesRelation (root->referencesRelation );
2126+ newMmd->enableInlineSource (root->inlineSource );
2127+ newMmd->addQualifiers (root->qualifiers );
2128+ newMmd->setBitfields (md->bitfieldString ());
2129+ newMmd->addSectionsToDefinition (root->anchors );
2130+ newMmd->setBodySegment (md->getDefLine (),md->getStartBodyLine (),md->getEndBodyLine ());
2131+ newMmd->setBodyDef (md->getBodyDef ());
2132+ newMmd->setInitializer (md->initializer ());
2133+ newMmd->setRequiresClause (md->requiresClause ());
2134+ newMmd->setMaxInitLines (md->initializerLines ());
2135+ newMmd->setMemberGroupId (root->mGrpId );
2136+ newMmd->setMemberSpecifiers (md->getMemberSpecifiers ());
2137+ newMmd->setVhdlSpecifiers (md->getVhdlSpecifiers ());
2138+ newMmd->setLanguage (root->lang );
2139+ newMmd->setId (root->id );
2140+ MemberName *mn = Doxygen::memberNameLinkedMap->add (memName);
2141+ mn->push_back (std::move (newMd));
21172142 }
2118- newMmd->setDefinition (md->definition ());
2119- newMmd->enableCallGraph (root->callGraph );
2120- newMmd->enableCallerGraph (root->callerGraph );
2121- newMmd->enableReferencedByRelation (root->referencedByRelation );
2122- newMmd->enableReferencesRelation (root->referencesRelation );
2123- newMmd->enableInlineSource (root->inlineSource );
2124- newMmd->addQualifiers (root->qualifiers );
2125- newMmd->setBitfields (md->bitfieldString ());
2126- newMmd->addSectionsToDefinition (root->anchors );
2127- newMmd->setBodySegment (md->getDefLine (),md->getStartBodyLine (),md->getEndBodyLine ());
2128- newMmd->setBodyDef (md->getBodyDef ());
2129- newMmd->setInitializer (md->initializer ());
2130- newMmd->setRequiresClause (md->requiresClause ());
2131- newMmd->setMaxInitLines (md->initializerLines ());
2132- newMmd->setMemberGroupId (root->mGrpId );
2133- newMmd->setMemberSpecifiers (md->getMemberSpecifiers ());
2134- newMmd->setVhdlSpecifiers (md->getVhdlSpecifiers ());
2135- newMmd->setLanguage (root->lang );
2136- newMmd->setId (root->id );
2137- MemberName *mn = Doxygen::memberNameLinkedMap->add (memName);
2138- mn->push_back (std::move (newMd));
21392143 }
21402144 }
21412145 }
@@ -6813,7 +6817,7 @@ static void findMember(const Entry *root,
68136817static void filterMemberDocumentation (const Entry *root,const QCString &relates)
68146818{
68156819 int i=-1 ,l;
6816- AUTO_TRACE (" root->type='{}' root->inside='{}' root->name='{}' root->args='{}' section={:#x } root->spec={} root->mGrpId={}" ,
6820+ AUTO_TRACE (" root->type='{}' root->inside='{}' root->name='{}' root->args='{}' section={} root->spec={} root->mGrpId={}" ,
68176821 root->type ,root->inside ,root->name ,root->args ,root->section ,root->spec ,root->mGrpId );
68186822 // printf("root->parent()->name=%s\n",qPrint(root->parent()->name));
68196823 bool isFunc=TRUE ;
0 commit comments