summaryrefslogtreecommitdiff
path: root/README.Coding
diff options
context:
space:
mode:
authorUri Simchoni <uri@samba.org>2016-10-02 20:41:45 +0300
committerJeremy Allison <jra@samba.org>2016-10-04 05:43:18 +0200
commita7821482ecb2535bf93d07283b7a0392298d19d2 (patch)
tree2e984bac360db88d616049202ac9123a9d884d94 /README.Coding
parent533b1210ea8e86bf90d55c01560b82f1741ca78d (diff)
downloadsamba-a7821482ecb2535bf93d07283b7a0392298d19d2.tar.gz
README.Coding: Add clang-format style file
Add how the coding style is represented in clang-format directives. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 4 05:43:18 CEST 2016 on sn-devel-144
Diffstat (limited to 'README.Coding')
-rw-r--r--README.Coding10
1 files changed, 10 insertions, 0 deletions
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