diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-17 14:00:23 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-17 14:00:23 +0200 |
commit | 888ac268a0077fc9ebd1218cec6ae472af0bfc40 (patch) | |
tree | 5fa6358a650c1b078f36b2d9ecaf94a368fa2d53 /.clang-format | |
parent | Merge pull request #818 from donaldsharp/eigrp_afi (diff) | |
download | frr-888ac268a0077fc9ebd1218cec6ae472af0bfc40.tar.xz frr-888ac268a0077fc9ebd1218cec6ae472af0bfc40.zip |
*: add indent control filesreindent-master-before
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..07f558d92 --- /dev/null +++ b/.clang-format @@ -0,0 +1,25 @@ +--- +BasedOnStyle: LLVM +Language: Cpp +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AlwaysBreakBeforeMultilineStrings: true +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +IndentCaseLabels: false +AlignEscapedNewlinesLeft: false +AlignTrailingComments: true +AllowAllParametersOfDeclarationOnNextLine: false +AlignAfterOpenBracket: true +SpaceAfterCStyleCast: false +MaxEmptyLinesToKeep: 2 +BreakBeforeBinaryOperators: NonAssignment +BreakStringLiterals: false +SortIncludes: false +IncludeCategories: + - Regex: '^(<|lib)' + Priority: 0 +CommentPragmas: '\$(FRR|clippy)' +ContinuationIndentWidth: 8 |