diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 07:24:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 07:24:22 +0000 |
commit | 45d6379135504814ab723b57f0eb8be23393a51d (patch) | |
tree | d4f2ec4acca824a8446387a758b0ce4238a4dffa /.clang-format.headers | |
parent | Initial commit. (diff) | |
download | bind9-45d6379135504814ab723b57f0eb8be23393a51d.tar.xz bind9-45d6379135504814ab723b57f0eb8be23393a51d.zip |
Adding upstream version 1:9.16.44.upstream/1%9.16.44upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.clang-format.headers')
-rw-r--r-- | .clang-format.headers | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/.clang-format.headers b/.clang-format.headers new file mode 100644 index 0000000..b536276 --- /dev/null +++ b/.clang-format.headers @@ -0,0 +1,64 @@ +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Custom +BraceWrapping: + AfterClass: false + AfterEnum: false + AfterStruct: false + AfterUnion: false + AfterControlStatement: MultiLine + AfterFunction: false # should also be MultiLine, but not yet supported + AfterExternBlock: false + BeforeElse: false + BeforeWhile: false + IndentBraces: false + SplitEmptyFunction: true +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +AlwaysBreakAfterReturnType: All +Cpp11BracedListStyle: false +ColumnLimit: 80 +AlignAfterOpenBracket: Align +AlignConsecutiveBitFields: true +AlignConsecutiveDeclarations: true +AlignConsecutiveMacros: true +AlignTrailingComments: true +AllowAllArgumentsOnNextLine: true +AlwaysBreakBeforeMultilineStrings: false +BreakBeforeBinaryOperators: None +BreakBeforeTernaryOperators: true +AlignEscapedNewlines: Left +DerivePointerAlignment: false +PointerAlignment: Right +PointerBindsToType: false +IncludeBlocks: Regroup +IncludeCategories: + - Regex: '^<isc/' + Priority: 2 + - Regex: '^<dns/' + Priority: 3 + - Regex: '^<iscccc/' + Priority: 4 + - Regex: '^<isccfg/' + Priority: 5 + - Regex: '^<ns/' + Priority: 6 + - Regex: '^<bind9/)' + Priority: 7 + - Regex: '^(<[^/]*)/)' + Priority: 8 + - Regex: '<[[:alnum:].]+>' + Priority: 1 + - Regex: '".*"' + Priority: 9 +IndentExternBlock: NoIndent +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 1 +PenaltyBreakAssignment: 30 +PenaltyBreakComment: 10 +PenaltyBreakFirstLessLess: 0 +PenaltyBreakString: 80 +PenaltyExcessCharacter: 100 +Standard: Cpp11 +ContinuationIndentWidth: 8 |