mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '46-add-clang-format-configuration' into 'master'
Add basic clang-format configuration that match our current formatting style closest See merge request isc-projects/bind9!204
This commit is contained in:
commit
9bbd5e8dd6
2 changed files with 20 additions and 0 deletions
19
.clang-format
Normal file
19
.clang-format
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
BasedOnStyle: LLVM
|
||||
BreakBeforeBraces: Linux
|
||||
IndentWidth: 8
|
||||
ContinuationIndentWidth: 8
|
||||
Standard: Cpp11
|
||||
TabWidth: 8
|
||||
UseTab: ForIndentation
|
||||
ColumnLimit: 80
|
||||
IndentCaseLabels: false
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AlignTrailingComments: true
|
||||
AlignOperands: true
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignConsecutiveDeclarations: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: TopLevel
|
||||
CommentPragmas: 'Copyright'
|
||||
...
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
./.clang-format X 2018
|
||||
./.gitattributes X 2015,2017,2018
|
||||
./.gitignore X 2012,2013,2014,2015,2016,2017,2018
|
||||
./.gitlab-ci.yml X 2018
|
||||
|
|
|
|||
Loading…
Reference in a new issue