Skip to content

Commit ef4df26

Browse files
committed
issue #11065 Doxygen version 1.12.0 failing to differentiate certain overloads when using qtbluetooth.tags tag file
1 parent 5012762 commit ef4df26

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/util.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ QCString resolveTypeDef(const Definition *context,const QCString &qualifiedName,
388388
QCString result;
389389
if (qualifiedName.isEmpty())
390390
{
391+
AUTO_TRACE_EXIT("empty name");
391392
return result;
392393
}
393394

@@ -1689,7 +1690,14 @@ static QCString getCanonicalTypeForIdentifier(
16891690
type.stripPrefix("typename ");
16901691
type = stripTemplateSpecifiersFromScope(type,FALSE);
16911692
}
1692-
result = getCanonicalTypeForIdentifier(d,fs,type,mType->getLanguage(),tSpec,count+1);
1693+
if (!type.isEmpty()) // see issue #11065
1694+
{
1695+
result = getCanonicalTypeForIdentifier(d,fs,type,mType->getLanguage(),tSpec,count+1);
1696+
}
1697+
else
1698+
{
1699+
result = word;
1700+
}
16931701
}
16941702
else
16951703
{

0 commit comments

Comments
 (0)