GNOME Bugzilla – Bug 732594
Two entries for a single member in Doxygen XML
Last modified: 2014-08-21 17:15:21 UTC
Consider the following example: template <typename T> class A { typedef T U; U f(); }; template <typename T> typename A<T>::U A<T>::f() {} The XML generated with Doxygen 1.8.6 contains two entries for the member function template f: <member refid="class_a_1a1534227ab314f4f20f53729ced034ffd" prot="private" virt="non-virtual"><scope>A</scope><name>f</name></member> <member refid="class_a_1aa592f5abbcd7a8d3ad8345a0e538715d" prot="public" virt="non-virtual"><scope>A</scope><name>f</name></member> Moreover, one of these entries have prot=public. When generating an HTML file only a single member is shown, but it is incorrectly placed in the Public Member Functions section.
I tried to reproduce the problem with the 1.8.6 version by copying the given example lines into a file (aa.h) and I could not find the referenced text, I found: <listofallmembers> <member refid="class_a_1ac14754f13ced4460b102990b1a1422c6" prot="private" virt="non-virtual"><scope>A</scope><name>f</name></member> <member refid="class_a_1ac767bad56ef2347c7bebef8ae97c2b31" prot="private" virt="non-virtual"><scope>A</scope><name>U</name></member> </listofallmembers> This looks OK to me. Please add a (small) self-contained example (source+results+config file in a zip or tar) to reproduce / showing the problem.
Created attachment 279788 [details] example
Created attachment 279789 [details] output
I've added a self-contained example and the generated XML output. Please let me know if you need any additional information.
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.8. 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).