]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add clang-format config
authorNick Terrell <terrelln@fb.com>
Wed, 17 May 2017 19:27:58 +0000 (12:27 -0700)
committerNick Terrell <terrelln@fb.com>
Wed, 17 May 2017 20:49:19 +0000 (13:49 -0700)
contrib/linux-kernel/lib/zstd/.clang-format [new file with mode: 0644]

diff --git a/contrib/linux-kernel/lib/zstd/.clang-format b/contrib/linux-kernel/lib/zstd/.clang-format
new file mode 100644 (file)
index 0000000..0c6cf3b
--- /dev/null
@@ -0,0 +1,11 @@
+BasedOnStyle: LLVM
+IndentWidth: 8
+UseTab: Always
+BreakBeforeBraces: Linux
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+
+ColumnLimit: 160
+AlignEscapedNewlinesLeft: true
+ReflowComments: true
+AllowShortCaseLabelsOnASingleLine: true