Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class graph does not differentiate same classes in different namespace (Origin: bugzilla #560861) #3175

Closed
doxygen opened this issue Jul 2, 2018 · 3 comments
Labels

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status NEW severity normal in component build for ---
Reported in version 1.5.7.1 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2008-11-14 22:03:18 +0000, Christophe Winkler wrote:

When generating the doc for the following classes:

/*! class Root */
class Root {
};
 
namespace A {
    /*! class A::Class1 */
    class Class1 : public Root {
    };
}

namespace B {
    /*! class B::Class1 */
    class Class1 : public Root {
    };
}

the class graph does not differentiate A::Class1 and B::Class1 when hiding
the scope names.

Compile the 4 docs of the attached project and look at the class graph of
Root. For the short_graph version, the class graph is corrupted.


BTW, it would be great to be able to strip a part of the namespace scope. My
company policy is to have the following root namespaces:

namespace my_company {
namespace project {
// code, with possibly internal namespaces
}
}

I would love to drop the my_company::project from the fullt scoped name,
while keeping the internal namespaces. Would that be possible?

On 2008-11-14 22:10:37 +0000, Christophe Winkler wrote:

Created attachment 122698
Minimal cpp code with doxygen settings showing the issue,

Minimal cpp code featuring the observed issue. Contains 4 different doxygen
configuration, one of them (short_graphs) generates a buggy class graph.

On 2008-11-15 11:41:00 +0000, Christophe Winkler wrote:

*** Bug 560859 has been marked as a duplicate of this bug. ***

On 2008-11-15 11:42:08 +0000, Christophe Winkler wrote:

*** Bug 560860 has been marked as a duplicate of this bug. ***
@albert-github albert-github changed the title Class graph does not differenciate same classes in different namespace (Origin: bugzilla #560861) Class graph does not differentiate same classes in different namespace (Origin: bugzilla #560861) Jan 11, 2021
@albert-github
Copy link
Collaborator

I've just pushed a proposed patch, pull request #8321

@albert-github
Copy link
Collaborator

Code has been integrated in master on github (please don't close the issue as this will be done at the moment of an official release).

@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Jan 12, 2021
@doxygen
Copy link
Owner Author

doxygen commented Aug 18, 2021

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.9.2.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Aug 18, 2021
@doxygen doxygen closed this as completed Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants