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
[C++] Inherited virtual functions are not listed as being inherited in child class docs #10081
Comments
UpdateAdding a documented constructor to the parent class, so the class |
Interesting finding, seems to be broken like this since 1.9.3 already. |
@seemann5 Please verify if the referenced commit fixes the problem for you. Don't close the issue as this will be done automatically when the next version of doxygen is released. Note that |
@doxygen I think we can have a nullptr problem here:
should probably be:
|
@albert-github Good catch. I isolated the counter for debugging purposes, reverted that part of the change now. |
I just pulled, the new version works as expected! Thanks a lot! |
This issue was previously marked 'fixed but not released', |
The problem
Publically inherited public functions are normally listed in the Public Member Functions inherited from parent class section. This behavior does not work as expected when the parent function is marked as virtual, in which case the parent function ends up listed in the main Public Member Functions section, without mentioning the inheritance relation, which looks a bit confusing.
Screenshots
To Reproduce
Using doxygen built from source, version
on WSL, running Ubuntu 20.04.6.
The above screenshots are generated as:
where
a.hpp
consists ofExtra information
I tried playing around with marking
B_fail::f_fail()
as eitherbut this doesn't seem to solve the issue.
The text was updated successfully, but these errors were encountered: