GNOME Bugzilla – Bug 365053
Wrong reference to ::classname
Last modified: 2018-07-30 10:32:05 UTC
Please describe the problem: I thought this may have been fixed by PR 355922, but it wasn't. In any case, here's an input file: ------------------- /** Text 1 */ class A {}; namespace N { /** Text 2 */ class A { A (::A &); }; } ---------------- Note how N::A::A takes a reference to ::A as argument. However, in the generated documentation, doxygen ignores the global scope :: operator and looks up A in the present scope, leading to a link to N::A when one clicks on the argument's type. Steps to reproduce: Run above sample code through doxygen. Observe the output. Actual results: We get a reference to N::A Expected results: I want a reference to ::A Does this happen every time? Yup Other information: No, but great program. Generates many 1000 pages of documentation for us every night :-)
I have an issue related to this, I think: class Foo { typedef ::Bar MyBar; } This shows up in doxygen as a public attribute: typedef::Bar MyBar; where the entire 'typedef::Bar' is a href-link to Bar. We don't have any clashes, but the output is a bit odd.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!