-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function declaration parsing error depending on the order of static and constrexpr #717
Comments
I get the same problem with Doxygen 1.9.1. Which version did you happen to use? <memberdef kind="function" id="test_8hpp_1a11e87c94126e34afdd9b4e0d84163949" prot="public" static="yes" constexpr="yes" const="no" explicit="no" inline="no" virt="non-virtual">
<type>constexpr static auto</type>
<definition>constexpr static auto f1</definition>
<argsstring>(std::false_type)</argsstring> Notice both <memberdef kind="function" id="test_8hpp_1ae071a908bccdee2c4c63dc1c4cd2558a" prot="public" static="yes" constexpr="yes" const="no" explicit="no" inline="no" virt="non-virtual">
<type>constexpr auto</type>
<definition>static constexpr auto f2</definition>
<argsstring>(std::false_type)</argsstring> No I have posted PR #720 which should fix this extra |
I was also using Doxygen 1.9.1 |
The following function declaration
leads to this error:
However, simply switching constexpr and static s.t.
solves the problem. This happens with breathe 4.30. Both versions compile fine with clang.
Another example of a function where this happened is
Let me know if you require any additional info :)
The text was updated successfully, but these errors were encountered: