README.Coding: Add clang-format style file master3-smb-crypto-ok
authorUri Simchoni <uri@samba.org>
Sun, 2 Oct 2016 17:41:45 +0000 (20:41 +0300)
committerJeremy Allison <jra@samba.org>
Tue, 4 Oct 2016 03:43:18 +0000 (05:43 +0200)
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

README.Coding

index 2bd7552f9fee594f8fa813119e969f03ed7627cd..19a363fa1dd13d3f605fc9c009a55fae17cb79ac 100644 (file)
@@ -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