-
Notifications
You must be signed in to change notification settings - Fork 2.1k
uncrustify: ignore parens on return #4481
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
uncrustify: ignore parens on return #4481
Conversation
Against. |
Why? |
Shouldn't we either go for "add" or "remove"? |
Then stuff like return (1); Will pop-up, too. |
For what it's worth: I would prefer to use ignore over add or remove, for me the ( helps to inform the reader that it's not just a value return, but contain an expression of some kind. Although I just realized that it might be a bit cryptic... xD |
Any consensus? |
I am also for |
I agree with @cgundogan and @DipSwitch, I have the same reasoning as @DipSwitch regarding expression vs. simple value return. |
+1 for 'ignore' |
and GO |
…rn-parens uncrustify: ignore parens on return
See #4475 (comment)