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

Left shift operator in default parameter value ends prototype evaluation. (Origin: bugzilla #692031) #5038

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 VERIFIED severity normal in component general for ---
Reported in version 1.8.3 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2013-01-18 19:36:49 +0000, Adam Shapiro wrote:

Created attachment 233786
Examples of working and broken prototypes.

After some testing I discovered a weird corner case where using a left shift operator (<<) in a default value calculation prematurely ends the function prototype evaluation done to create the details section and apply @params. This only happens for left shifted values not in parentheses (e.g. 1<<4). Right shift does not have the same behavior. If the value is placed in parentheses it is processed properly.

I've attached an example.

On 2013-01-19 12:27:43 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2013-01-20 13:35:05 +0000, Dimitri van Heesch wrote:

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.

On 2013-01-22 13:32:25 +0000, Adam Shapiro wrote:

Fix verified. Thanks.

@doxygen doxygen closed this Jul 19, 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.