-
Notifications
You must be signed in to change notification settings - Fork 565
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
Template move constructor parameter is seen as boolean operator #4254
Labels
Comments
The current git version works pretty fine under Linux Mint. |
I build the latest sources on Windows.
I included the generated file ( |
Sorry, I correct: sp_bool = add
set type TType to get want you wanted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using Uncrustify-0.78.1_f, with with this configuration:
sp_bool = add
Consider this working example, where Uncrustify produces the same output as this input:
Debug output:
Now if we change the class name using an alias:
Uncrustify adds a space between
TType
and&&
because&&
is seen as BOOL istead of BYREF:Debug output:
However, if we use
int
instead ofTType
the result is correct:Debug output:
The text was updated successfully, but these errors were encountered: