From c44f56739a671b188081979d159638f107b281d9 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 1 May 2018 14:30:52 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1038156 Reviewed-by: Randall Spangler Reviewed-by: Jett Rink --- .clang-format | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..16d606b384 --- /dev/null +++ b/.clang-format @@ -0,0 +1,10 @@ +BasedOnStyle: LLVM +Language: Cpp +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +SortIncludes: false +ContinuationIndentWidth: 8 +ColumnLimit: 80 -- cgit v1.2.1