mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-03 20:40:08 -05: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.
This commit is contained in:
parent
0258850f20
commit
c7420eccd9
2 changed files with 2 additions and 0 deletions
|
|
@ -80,3 +80,4 @@ Standard: Cpp11
|
|||
ContinuationIndentWidth: 8
|
||||
ForEachMacros: [ 'cds_lfs_for_each', 'cds_lfs_for_each_safe', 'cds_list_for_each_entry_safe', 'ISC_LIST_FOREACH', 'ISC_LIST_FOREACH_SAFE', 'ISC_LIST_FOREACH_REV', 'ISC_LIST_FOREACH_REV_SAFE' ]
|
||||
RemoveParentheses: ReturnStatement
|
||||
RemoveSemicolon: true
|
||||
|
|
|
|||
|
|
@ -79,3 +79,4 @@ PenaltyExcessCharacter: 100
|
|||
Standard: Cpp11
|
||||
ContinuationIndentWidth: 8
|
||||
RemoveParentheses: ReturnStatement
|
||||
RemoveSemicolon: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue