Skip to content
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

Fortran: Doxygen mixes up function-attributes with the return type (Origin: bugzilla #706804) #5271

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.4 on platform Other
Assigned to: Dimitri van Heesch

On 2013-08-26 14:21:01 +0000, Stefan wrote:

With Fortran, Doxygen 1.8.4 mixes up function-attributes with the returned type.

For example, assume the following function body:
[PURE, ELEMENTAL, RECURSIVE] FUNCTION test_func(a) RESULT(b)
REAL, INTENT(IN) :: a
REAL :: b
:
END FUNCTION

In case of function-attributes as PURE, ELEMENTAL or RECURSIVE Doxygen misses out that the test_func()'s return value is of type REAL. Instead it says:
[pure, elemental, recursive] function test_func(real, intent(in) a)

Cheers,
Stefan

On 2013-08-26 17:29:41 +0000, albert wrote:

I've just created a bug fix for this problem and pushed it to git.

On 2013-08-27 07:23:16 +0000, Dimitri van Heesch wrote:

Thanks, I've merged the pull request.

On 2013-08-27 07:59:01 +0000, Stefan wrote:

Awesome, tanks for fixing it. This was really quick!

On 2013-12-24 18:59:34 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.6. 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 (preferrably in the form of a self-contained example).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.