summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-05 18:29:47 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-02-05 18:29:47 (GMT)
commit0e61eb42b00ccd3f02095af16fcd28ba0788bb31 (patch)
treeb0a6a086c4f4688a4839884e881cb406f0a55843 /src
parentb3cefe5954ed37ebcf843eced45e878b7b3dddcc (diff)
downloadDoxygen-0e61eb42b00ccd3f02095af16fcd28ba0788bb31.zip
Doxygen-0e61eb42b00ccd3f02095af16fcd28ba0788bb31.tar.gz
Doxygen-0e61eb42b00ccd3f02095af16fcd28ba0788bb31.tar.bz2
issue #8370: Doxygen 1.9.1 confused by C++ using/typedef declaration
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index d387b02..3567f5f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1933,12 +1933,10 @@ static bool matchArgument2(
dstA.canType=""; // invalidate cached type value
}
- if (srcA.canType.isEmpty())
+ if (srcA.canType.isEmpty() || dstA.canType.isEmpty())
{
+ // need to re-evaluate both see issue #8370
srcA.canType = extractCanonicalArgType(srcScope,srcFileScope,srcA);
- }
- if (dstA.canType.isEmpty())
- {
dstA.canType = extractCanonicalArgType(dstScope,dstFileScope,dstA);
}