Skip to content

Commit

Permalink
issue #6382: computational time issue of Java generics
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Jan 23, 2022
1 parent 89ad0fb commit 6d99c85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/util.cpp
Expand Up @@ -377,6 +377,11 @@ QCString resolveTypeDef(const Definition *context,const QCString &qualifiedName,
if (typedefContext) *typedefContext=context;

// see if the qualified name has a scope part
if (qualifiedName.find('<')!=-1)
{
//printf(" templates cannot be typedefs!\n");
return result;
}
int scopeIndex = qualifiedName.findRev("::");
QCString resName=qualifiedName;
if (scopeIndex!=-1) // strip scope part for the name
Expand Down Expand Up @@ -460,7 +465,7 @@ QCString resolveTypeDef(const Definition *context,const QCString &qualifiedName,
if (md)
{
//printf(">>resolveTypeDef: Found typedef name '%s' in scope '%s' value='%s' args='%s'\n",
// qPrint(qualifiedName),qPrint(context->name()),md->typeString(),md->argsString()
// qPrint(qualifiedName),qPrint(context->name()),qPrint(md->typeString()),qPrint(md->argsString())
// );
result=md->typeString();
QCString args = md->argsString();
Expand Down

0 comments on commit 6d99c85

Please sign in to comment.