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 681976 - Constructor noexcept specification (C++11) parsed as initializer list
Constructor noexcept specification (C++11) parsed as initializer list
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.2
Other Windows
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-08-16 09:08 UTC by kashej
Modified: 2012-12-26 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kashej 2012-08-16 09:08:46 UTC
Doxygen fails to recognize nontrivial noexcept specification in constructors, mistaking it for initializer list if there are colons present.
Example code:

template<typename T> 
class Test {
public:
    Test() noexcept ( noexcept(T::T()) ) = default;
};

produces warning about meeting semicolon (the one after default) in initializer list (that is not actually present, but doxygen thinks it starts after "T:").
Comment 1 Dimitri van Heesch 2012-09-02 12:55:13 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2012-12-26 16:09:13 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.