After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685879 - [patch] Treeview lists undocumented class members even when HIDE_UNDOC_MEMBERS is enabled
[patch] Treeview lists undocumented class members even when HIDE_UNDOC_MEMBER...
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.2-SVN
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-10-10 12:34 UTC by Philipp Moeller
Modified: 2012-12-26 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase and patch (22.64 KB, application/zip)
2012-10-10 12:34 UTC, Philipp Moeller
Details

Description Philipp Moeller 2012-10-10 12:34:26 UTC
Created attachment 226171 [details]
Testcase and patch

Given foo.h and a default generated Doxygen file where only HIDE_UNDOC_MEMBERS = YES and GENERATE_TREEVIEW = YES have changed.

/*!
  My X.
*/
class X
{
public:
  /// foo
  /// @{

  /// Nope.
  void what();
  /// @}

  void who();
};

The who() member function will be visible in the tree view although it hasn't been documented. The link from the treeview will lead to a non-existing anchor in the documentation of X.

Attached is a small patch to index.cpp to check for HIDE_UNDOC_MEMBERS and hasDocumentation before adding an entry to the treeview.
Comment 1 Dimitri van Heesch 2012-10-11 18:18:15 UTC
Thanks, I'll include the patch in the next subversion update.
Comment 2 Dimitri van Heesch 2012-12-26 16:09:07 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3. 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.