uncrustify: ignore parens on return#4481
Merged
cgundogan merged 1 commit intoRIOT-OS:masterfrom Jan 26, 2016
Merged
Conversation
Contributor
|
Against. |
Member
|
Why? |
Contributor
|
Shouldn't we either go for "add" or "remove"? |
Member
Author
|
Then stuff like return (1);Will pop-up, too. |
Member
|
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 |
Member
Author
|
Any consensus? |
Member
|
I am also for |
Member
|
I agree with @cgundogan and @DipSwitch, I have the same reasoning as @DipSwitch regarding expression vs. simple value return. |
Contributor
|
+1 for 'ignore' |
Member
|
and GO |
cgundogan
added a commit
that referenced
this pull request
Jan 26, 2016
…rn-parens uncrustify: ignore parens on return
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #4475 (comment)