-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Greater than > in template function declaration not parsed correctly #8622
Comments
Shouldn't the prototype:
be inside the
so:
|
The function is just a free function with // prototype
void fun();
// usage ...
void fun() {
// implementation
} |
Ah yes now I see, I think that doxygen got a bit confused as well ... |
To clarify: this is by no means a high-priority bug, the spurious warnings just obscure some of the more important warnings. |
Please verify if the referenced commit fixes the issue. |
That seems to have fixed it, all such warnings have disappeared in my project. Thanks a lot for the quick responses! |
This issue was previously marked 'fixed but not released', |
Consider the following template function declaration and definition:
When running Doxygen, this results in the following warning:
Interestingly enough, the generated documentation looks correct at first sight, and when removing either the declaration or the definition, Doxygen no longer complains.
Expected behavior
The template being parsed correctly and no warnings being emitted.
To Reproduce
Default Doxyfile with the following changes:
Doxygen-8622.zip
Version
doxygen 1.9.2 (ff2a7670c50743547495f0ebee35323b11a74e6a)
, master branch, compiled from source just now, on Ubuntu 20.04.The text was updated successfully, but these errors were encountered: