diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2018-07-31 07:48:18 -0700 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-07-31 23:25:29 +0000 |
commit | aae6b8874892cf89f4da7156faec2359d2f303b5 (patch) | |
tree | 8c34f12c4bb090576d6572a05ef478ee8e4917a7 /.clang-format | |
parent | 38f3ffad3fa05cf37ec44eda053006235c8d8d43 (diff) | |
download | coreboot-aae6b8874892cf89f4da7156faec2359d2f303b5.tar.xz |
clang-format: change it to better match our style
These additions make a better fit to our style, they
are adapted from those done for Linux.
Change-Id: I664c9d1503e3bb7bedcd617e15d2d2c57e19bdff
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/27752
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/.clang-format b/.clang-format index 16d606b384..d853f50480 100644 --- a/.clang-format +++ b/.clang-format @@ -1,10 +1,21 @@ -BasedOnStyle: LLVM -Language: Cpp -IndentWidth: 8 -UseTab: Always -BreakBeforeBraces: Linux -AllowShortIfStatementsOnASingleLine: false -IndentCaseLabels: false -SortIncludes: false -ContinuationIndentWidth: 8 -ColumnLimit: 80 +BasedOnStyle: LLVM +Language: Cpp +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +SortIncludes: false +ContinuationIndentWidth: 8 +ColumnLimit: 0 +AlwaysBreakBeforeMultilineStrings: true +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AlignEscapedNewlinesLeft: false +AlignTrailingComments: true +AllowAllParametersOfDeclarationOnNextLine: false +AlignAfterOpenBracket: true +SpaceAfterCStyleCast: false +MaxEmptyLinesToKeep: 2 +BreakBeforeBinaryOperators: NonAssignment +BreakStringLiterals: false |