From a7821482ecb2535bf93d07283b7a0392298d19d2 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Sun, 2 Oct 2016 20:41:45 +0300 Subject: README.Coding: Add clang-format style file Add how the coding style is represented in clang-format directives. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Oct 4 05:43:18 CEST 2016 on sn-devel-144 --- README.Coding | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.Coding b/README.Coding index 2bd7552f9fe..19a363fa1dd 100644 --- a/README.Coding +++ b/README.Coding @@ -90,6 +90,16 @@ displaying trailing whitespace: set textwidth=80 autocmd BufNewFile,BufRead *.c,*.h exec 'match Todo /\%>' . &textwidth . 'v.\+/' +clang-format +------------ +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: true +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +BinPackParameters: false + ========================= FAQ & Statement Reference -- cgit v1.2.1