mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 20:25:55 -04:00
Add new clang-format option to remove redundant semicolons
The new clang-format options (since clang-format 16) removes semicolons
after the closing braces of functions and constructors/destructors.
(cherry picked from commit c7420eccd9)
This commit is contained in:
parent
c5bac96fd0
commit
781eb2e186
2 changed files with 2 additions and 0 deletions
|
|
@ -77,3 +77,4 @@ PenaltyExcessCharacter: 100
|
|||
Standard: Cpp11
|
||||
ContinuationIndentWidth: 8
|
||||
RemoveParentheses: ReturnStatement
|
||||
RemoveSemicolon: true
|
||||
|
|
|
|||
|
|
@ -65,3 +65,4 @@ PenaltyExcessCharacter: 100
|
|||
Standard: Cpp11
|
||||
ContinuationIndentWidth: 8
|
||||
RemoveParentheses: ReturnStatement
|
||||
RemoveSemicolon: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue