clang-format: do not merge blocks/functions into single line
Align clang-format a bit closer to established coding style
of the project. Similar to commit 51f9f7ca30
("clang-format: do not put enums in single line")'
Never merge blocks/case/functions/if/loops into a single line.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
5f84be56ae
commit
dddb5dd6b0
|
@ -12,7 +12,12 @@
|
|||
---
|
||||
BasedOnStyle: LLVM
|
||||
AlignConsecutiveMacros: AcrossComments
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AttributeMacros:
|
||||
- __aligned
|
||||
- __deprecated
|
||||
|
|
Loading…
Reference in a new issue