clang-format: add clang-format proposed code-style file

Signed-off-by: Antonio Cardace <acardace@redhat.com>
This commit is contained in:
Antonio Cardace 2020-09-01 17:21:26 +02:00
parent 40e4c0d60e
commit 76bb1f91a5
No known key found for this signature in database
GPG key ID: 6BF80ABD43E377D3

View file

@ -18,6 +18,7 @@ AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false
#AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false AllowShortLoopsOnASingleLine: false
@ -30,7 +31,6 @@ BreakBeforeBraces: Custom
BraceWrapping: BraceWrapping:
AfterCaseLabel: true AfterCaseLabel: true
AfterControlStatement: Never AfterControlStatement: Never
AfterEnum: false
AfterFunction: true AfterFunction: true
AfterStruct: false AfterStruct: false
AfterUnion: false AfterUnion: false