From: Nick Terrell Date: Wed, 17 May 2017 19:27:58 +0000 (-0700) Subject: Add clang-format config X-Git-Tag: v1.3.0~1^2~33^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581e5fbe83819f14d18513157868c5612107bec0;p=thirdparty%2Fzstd.git Add clang-format config --- 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