mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Merge branch 'clang-format-updates' into 'master'
Add more tweaks to .clang-format style for experiments See merge request isc-projects/bind9!206
This commit is contained in:
@@ -2,18 +2,36 @@
|
|||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
BreakBeforeBraces: Linux
|
BreakBeforeBraces: Linux
|
||||||
IndentWidth: 8
|
IndentWidth: 8
|
||||||
|
IncludeBlocks: Regroup
|
||||||
|
IncludeCategories:
|
||||||
|
- Regex: '^"'
|
||||||
|
Priority: 5
|
||||||
|
- Regex: '^<(dns|ns|irs|isccc|iscfg)/'
|
||||||
|
Priority: 4
|
||||||
|
- Regex: '^<isc/'
|
||||||
|
Priority: 3
|
||||||
|
- Regex: '.*'
|
||||||
|
Priority: 2
|
||||||
|
- Regex: '^<config.h>'
|
||||||
|
Priority: 1
|
||||||
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
|
MaxEmptyLinesToKeep: 1
|
||||||
|
PenaltyBreakBeforeFirstCallParameter: 100
|
||||||
ContinuationIndentWidth: 8
|
ContinuationIndentWidth: 8
|
||||||
|
AlwaysBreakAfterReturnType: TopLevel
|
||||||
Standard: Cpp11
|
Standard: Cpp11
|
||||||
TabWidth: 8
|
TabWidth: 8
|
||||||
UseTab: ForIndentation
|
UseTab: ForContinuationAndIndentation
|
||||||
ColumnLimit: 80
|
ColumnLimit: 80
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
AllowShortCaseLabelsOnASingleLine: true
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
AlignTrailingComments: true
|
AlignTrailingComments: true
|
||||||
AlignOperands: true
|
AlignOperands: true
|
||||||
AlignConsecutiveAssignments: true
|
AlignConsecutiveAssignments: true
|
||||||
AlignConsecutiveDeclarations: true
|
AlignConsecutiveDeclarations: true
|
||||||
AllowAllParametersOfDeclarationOnNextLine: false
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
AlwaysBreakAfterDefinitionReturnType: TopLevel
|
AlwaysBreakAfterDefinitionReturnType: TopLevel
|
||||||
|
AlignAfterOpenBracket: Align
|
||||||
CommentPragmas: 'Copyright'
|
CommentPragmas: 'Copyright'
|
||||||
|
BreakBeforeTernaryOperators: false
|
||||||
...
|
...
|
||||||
|
Reference in New Issue
Block a user