From 581e5fbe83819f14d18513157868c5612107bec0 Mon Sep 17 00:00:00 2001 From: Nick Terrell Date: Wed, 17 May 2017 12:27:58 -0700 Subject: [PATCH] Add clang-format config --- contrib/linux-kernel/lib/zstd/.clang-format | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 contrib/linux-kernel/lib/zstd/.clang-format diff --git a/contrib/linux-kernel/lib/zstd/.clang-format b/contrib/linux-kernel/lib/zstd/.clang-format new file mode 100644 index 000000000..0c6cf3ba7 --- /dev/null +++ b/contrib/linux-kernel/lib/zstd/.clang-format @@ -0,0 +1,11 @@ +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false + +ColumnLimit: 160 +AlignEscapedNewlinesLeft: true +ReflowComments: true +AllowShortCaseLabelsOnASingleLine: true