From 6c2b10e98933569f028d2ee78efb4cc660d2f9ac Mon Sep 17 00:00:00 2001 From: zaolin Date: Mon, 16 Apr 2018 17:37:24 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/25687 Reviewed-by: Martin Roth Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- .clang-format | 16 ++++++++++------ 1 file 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 -- cgit v1.2.3