Philipp Deppenwiese has uploaded this change for review. ( https://review.coreboot.org/25687
Change subject: clang-format: Update .clang-format to be compliant with linux kernel coding style ......................................................................
clang-format: Update .clang-format to be compliant with linux kernel coding style
Change-Id: I61a32ed951d18d5865be201bb38d18e50dd76f08 Signed-off-by: zaolin zaolin@das-labor.org --- M .clang-format 1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/25687/1
diff --git a/.clang-format b/.clang-format index a3ef233..801158e 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,20 @@ 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 +ContinuationIndentWidth: 8