Skip to content

Commit

Permalink
Bug 722457 - regression referencing namespaced type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Feb 15, 2014
1 parent d96458c commit 9b76c1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doxygen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6163,12 +6163,14 @@ static void findMember(EntryNav *rootNav,
matching = FALSE;
}
}
bool rootIsUserDoc = (root->section&Entry::MEMBERDOC_SEC)!=0;
bool classIsTemplate = scopeIsTemplate(md->getClassDef());
bool mdIsTemplate = md->templateArguments()!=0;
bool classOrMdIsTemplate = mdIsTemplate || classIsTemplate;
bool rootIsTemplate = root->tArgLists!=0;
//printf("classIsTemplate=%d mdIsTemplate=%d rootIsTemplate=%d\n",classIsTemplate,mdIsTemplate,rootIsTemplate);
if ((mdIsTemplate || rootIsTemplate) && // either md or root is a template
if (!rootIsUserDoc && // don't check out-of-line @fn references, see bug722457
(mdIsTemplate || rootIsTemplate) && // either md or root is a template
((classOrMdIsTemplate && !rootIsTemplate) || (!classOrMdIsTemplate && rootIsTemplate))
)
{
Expand Down

0 comments on commit 9b76c1a

Please sign in to comment.