[coreboot-gerrit] Change in coreboot[master]: clang-format: Update .clang-format to be compliant with linux kernel ...
Philipp Deppenwiese (Code Review)
gerrit at coreboot.org
Mon Apr 16 17:37:35 CEST 2018
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 at 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
--
To view, visit https://review.coreboot.org/25687
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I61a32ed951d18d5865be201bb38d18e50dd76f08
Gerrit-Change-Number: 25687
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180416/b10d78ed/attachment.html>
More information about the coreboot-gerrit
mailing list