diff options
author | Uri Simchoni <uri@samba.org> | 2016-10-02 20:41:45 +0300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-10-04 05:43:18 +0200 |
commit | a7821482ecb2535bf93d07283b7a0392298d19d2 (patch) | |
tree | 2e984bac360db88d616049202ac9123a9d884d94 /README.Coding | |
parent | 533b1210ea8e86bf90d55c01560b82f1741ca78d (diff) | |
download | samba-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.Coding | 10 |
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 |