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
commit 407041a10f

View file

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