summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2018-08-02 09:11:21 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-08-02 17:58:46 -0700
commit12cf2ec05c40442b926a711abe264bcd935235c0 (patch)
tree8f8a99dbc2bf55d0b8c0ba32838e41c357514f42
parent908fa8b0b5c0b853d80e1a8036c692d53d8a53f0 (diff)
downloadvboot-12cf2ec05c40442b926a711abe264bcd935235c0.tar.gz
vboot: Add .clang-format file
Copied from depthcharge. BUG=none BRANCH=none TEST=formatted some code Change-Id: I9b9916df7da6195c753f2ce9ddbf37baf8a3e747 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1160930 Reviewed-by: Martin Roth <martinroth@chromium.org>
-rw-r--r--.clang-format10
1 files changed, 10 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 00000000..16d606b3
--- /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