2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00: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:
Ondřej Surý
2024-11-19 10:35:40 +01:00
parent 1303fe5ea0
commit 1f06229c7e
2 changed files with 2 additions and 0 deletions

View File

@@ -76,3 +76,4 @@ PenaltyBreakString: 80
PenaltyExcessCharacter: 100
Standard: Cpp11
ContinuationIndentWidth: 8
RemoveParentheses: ReturnStatement

View File

@@ -64,3 +64,4 @@ PenaltyBreakString: 80
PenaltyExcessCharacter: 100
Standard: Cpp11
ContinuationIndentWidth: 8
RemoveParentheses: ReturnStatement