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

Member functions omitted from tagfile (Origin: bugzilla #736992) #5632

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2014-09-19 20:45:57 +0000, Robb Surridge wrote:

Virtual member functions are omitted from the tag file for base classes, and are instead listed only under the first derived class to occur in alphabetical order.

To illustrate the problem,

On 2014-09-19 20:46:46 +0000, Robb Surridge wrote:

Created attachment 286658
file that contains the derived class declaration

On 2014-09-19 20:50:19 +0000, Robb Surridge wrote:

Whoops, submitted accidentally while adding attachments.

Anyway, use both BaseClass.h and DerivedClass.h to generate a tag file. You'll see that BaseClass::functionOne() gets listed only under the compound for DerivedClass.

Also, note that alphabetical order and order of appearance in the tag file appears to play a role: if you rename ADerivedClass to simply "DerivedClass" or "ZDerivedClass" or something that comes after "BaseClass", the entry for functionOne() in the tag file gets placed where it should, under the BaseClass.

By trial and error, I discovered that this problem was introduced in 1.8.3.1. In 1.8.3 and before, the functions were always listed correctly. In 1.8.3.1 up to 1.8.8, virtual functions are getting put only under whatever child class comes up first in the order.

On 2014-09-21 19:03:26 +0000, Dimitri van Heesch wrote:

Hi Robb,

Can you please attach the whole example (source+config file in a zip). Now I have only DerivedClass.h

On 2014-09-22 13:38:22 +0000, Robb Surridge wrote:

Created attachment 286813
Simple test case that contains .h files and doxygen config

On 2014-09-22 13:41:16 +0000, Robb Surridge wrote:

Sorry about that.

The attached test case (tagfile_testcase.zip) has two headers, with a simple base class and derived class.

The only things I changed in the config were to set up the input, and to set the GENERATE_TAGFILE.

When you run the build, you'll see that the generated tagfile (mytagfile.tag) contains entries for both the base and derived classes. But the function BaseClass::functionOne() is only listed under the derived class, not under the base class.

-r

On 2014-09-22 19:59:19 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-12-25 16:03:01 +0000, Dimitri van Heesch wrote:

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

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment