clang-format: enable SpaceBeforeParens option

The option required clang-format >= 13, we now require >= 15, so it can
be enabled.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-12-22 10:51:14 +01:00 committed by Fabio Baltieri
parent 4a50f9362f
commit 407041a10f

View file

@ -78,7 +78,7 @@ IncludeCategories:
IndentCaseLabels: false
IndentWidth: 8
InsertBraces: true
# SpaceBeforeParens: ControlStatementsExceptControlMacros # clang-format >= 13.0
SpaceBeforeParens: ControlStatementsExceptControlMacros
SortIncludes: false
UseTab: Always
WhitespaceSensitiveMacros: