mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
clang-format: set SpaceBeforeParens to ControlStatementsExceptForEachMacros
I contributed this option to LLVM a while ago to reduce the amount of changes clang-format makes when formatting systemd source files. As LLVM 11 is now starting to becomes widely available, let's configure it in the clang-format config.
This commit is contained in:
parent
cabe57119f
commit
36046ce7d9
@ -118,6 +118,7 @@ PenaltyBreakString: 0
|
||||
PenaltyExcessCharacter: 10
|
||||
PenaltyReturnTypeOnItsOwnLine: 100
|
||||
SpaceAfterCStyleCast: true
|
||||
SpaceBeforeParens: ControlStatementsExceptForEachMacros
|
||||
SpacesInAngles: true
|
||||
TabWidth: 8
|
||||
UseCRLF: false
|
||||
|
Loading…
Reference in New Issue
Block a user