doxygen / doxygen

Official doxygen git repository
https://www.doxygen.org
GNU General Public License v2.0
5.47k stars 1.25k forks source link

Inheritance of partial template instantiation is not documented in inheritance diagram in Doxygen 1.9.3 and later #10911

Open scott-zhong opened 1 month ago

scott-zhong commented 1 month ago

Describe the bug Inheritance of partial template instantiation is not documented in inheritance diagram in Doxygen 1.9.3 and later.

/**
 * Base docs
 */
template <class V>
class Base {
};

/**
 * TypeBase docs
 */
template <class T, class V>
class TypeBase : public Base<V> {
};

/**
 * Integer docs
 */
template <class T>
class Integer
    : public TypeBase<T, int > {
};

Screenshots 1.9.2: image

1.9.3 - trunk (c2002ae9ca711f81fae7eeff37de5bdab5cb2b45): image

To Reproduce testcase.zip

Expected behavior inheritance diagram should show partial template instantiation inheritances.

albert-github commented 1 month ago

A bisect gave that the difference was introduced by:

5f3730769399fbbb82cbebb77e3b0bab3600095b is the first bad commit

Date:   Sun Dec 12 13:07:47 2021 +0100

    issue #8948: collaboration diagram should include smart pointer members

 src/classdef.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Related to the mentioned issue is also:

Commit: e64a05126d4393c111d9fb9872a76b33371272e8 [e64a051]
Date: Thursday, December 9, 2021 8:26:39 PM

issue #8948: collaboration diagram should include smart pointer members