ec: Add .clang-format

Copied from coreboot.

BUG=none
BRANCH=none
TEST=Tried formatting a few lines.

Change-Id: Iff9e6970cb8d725834f5f1f0c6447b62568a6f09
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1038156
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
This commit is contained in:
Raul E Rangel 2018-05-01 14:30:52 -06:00 committed by chrome-bot
parent b10c587e7b
commit c44f56739a
1 changed files with 10 additions and 0 deletions

10
.clang-format Normal file
View File

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