diff options
author | zaolin <zaolin@das-labor.org> | 2018-04-16 17:37:24 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-23 09:26:08 +0000 |
commit | 6c2b10e98933569f028d2ee78efb4cc660d2f9ac (patch) | |
tree | b8ffe3e8c95d17db618c81d8fea49dfe14bfa673 | |
parent | 484aa4240357d6aa0dbf64cd2a4c1dcf93efeb3b (diff) |
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>
-rw-r--r-- | .clang-format | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.clang-format b/.clang-format index a3ef233a24..16d606b384 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,10 @@ -BasedOnStyle: LLVM -IndentWidth: 8 -UseTab: Always -BreakBeforeBraces: Linux -AllowShortIfStatementsOnASingleLine: false -IndentCaseLabels: false +BasedOnStyle: LLVM +Language: Cpp +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +SortIncludes: false +ContinuationIndentWidth: 8 +ColumnLimit: 80 |