From 0e61eb42b00ccd3f02095af16fcd28ba0788bb31 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Fri, 5 Feb 2021 19:29:47 +0100 Subject: issue #8370: Doxygen 1.9.1 confused by C++ using/typedef declaration --- src/util.cpp | 6 ++---- 1 file 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); } -- cgit v0.12