clang-format: Update .clang-format to be compliant with linux kernel coding style

* The coreboot clang format file seems to be incomplete.
* Add missing options.

Change-Id: I61a32ed951d18d5865be201bb38d18e50dd76f08
Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org>
Reviewed-on: https://review.coreboot.org/25687
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
zaolin 2018-04-16 17:37:24 +02:00 committed by Patrick Georgi
parent 484aa42403
commit 6c2b10e989
1 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,10 @@
BasedOnStyle: LLVM BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 8 IndentWidth: 8
UseTab: Always UseTab: Always
BreakBeforeBraces: Linux BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false IndentCaseLabels: false
SortIncludes: false
ContinuationIndentWidth: 8
ColumnLimit: 80