mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-04 18:12:03 -04:00
Add new clang-format option to remove redundant parentheses
The new clang-format option (since 17) can remove redundant parentheses
in the return statement (with configuration value ReturnStatement).
(cherry picked from commit 3873b0c279)
This commit is contained in:
parent
1303fe5ea0
commit
1f06229c7e
2 changed files with 2 additions and 0 deletions
|
|
@ -76,3 +76,4 @@ PenaltyBreakString: 80
|
|||
PenaltyExcessCharacter: 100
|
||||
Standard: Cpp11
|
||||
ContinuationIndentWidth: 8
|
||||
RemoveParentheses: ReturnStatement
|
||||
|
|
|
|||
|
|
@ -64,3 +64,4 @@ PenaltyBreakString: 80
|
|||
PenaltyExcessCharacter: 100
|
||||
Standard: Cpp11
|
||||
ContinuationIndentWidth: 8
|
||||
RemoveParentheses: ReturnStatement
|
||||
|
|
|
|||
Loading…
Reference in a new issue