Permalink
Browse files

Bug 721618 - Move contructors and move assignment operators of embedd…

…ed classes of template classes cannot be matched.
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jan 8, 2014
1 parent 1bfacc3 commit 1d0c9b6fefb6c2e0a9a2b7a7ea3192ccace33710
Showing with 10 additions and 1 deletion.
  1. +10 −1 src/doxygen.cpp
@@ -5567,6 +5567,15 @@ static bool isSpecialization(
return FALSE;
}
static bool scopeIsTemplate(Definition *d)
{
bool result=FALSE;
if (d && d->definitionType()==Definition::TypeClass)
{
result = ((ClassDef*)d)->templateArguments() || scopeIsTemplate(d->getOuterScope());
}
return result;
}
static QCString substituteTemplatesInString(
const QList<ArgumentList> &srcTempArgLists,
@@ -6154,7 +6163,7 @@ static void findMember(EntryNav *rootNav,
matching = FALSE;
}
}
bool classIsTemplate = md->getClassDef() && md->getClassDef()->templateArguments();
bool classIsTemplate = scopeIsTemplate(md->getClassDef());
bool mdIsTemplate = md->templateArguments()!=0;
bool classOrMdIsTemplate = mdIsTemplate || classIsTemplate;
bool rootIsTemplate = root->tArgLists!=0;

0 comments on commit 1d0c9b6

Please sign in to comment.