From 02e7d931a7d76a83ea0a25a93b332be8a366c7b6 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Fri, 3 May 2019 22:07:05 -0700 Subject: [PATCH] Add a .clang-format Signed-off-by: Ben Widawsky --- .clang-format | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..28d13da25 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +# Default Linux style +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false + +# From CodingReadme +TabWidth: 8 +ContinuationIndentWidth: 2 +ColumnLimit: 150 +# BreakBeforeBraces: Linux -- 2.30.2