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 691073 - Cannot externally document C++11 enumeration values.
Cannot externally document C++11 enumeration values.
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.3-SVN
Other Linux
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-01-03 15:22 UTC by Reece H. Dunn
Modified: 2013-01-20 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reece H. Dunn 2013-01-03 15:22:32 UTC
Specifying the documentation at the place where the enumeration values are defined works:

    /** @brief A foo enumeration. */
    enum class Foo
    {
        A, /**< @brief The first value. */
        B, /**< @brief The second value. */
    };

Documenting the enumeration type outside the definition works:

    /** @enum Foo
      * @brief A foo enumeration.
      */

However, documenting the values outside the definition does not:

    /** @var Foo A
      * @brief The first value.
      */

    /** @var Foo B
      * @brief The second value.
      */

Nor does qualifying the values:

    /** @var Foo Foo::A
      * @brief The first value.
      */

    /** @var Foo Foo::B
      * @brief The second value.
      */

These all work for C++98/03 enumeration values.
Comment 1 Dimitri van Heesch 2013-01-19 16:30:10 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2013-01-20 13:34:56 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3.1. 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.
Comment 3 Reece H. Dunn 2013-01-20 14:42:08 UTC
This now works in 1.8.3.1. Thank you for fixing this issue.