clang-format: Enable InsertBraces option
Zephyr's coding guidelines require braces on every code block body. Enable InsertBraces option so clang-format automatically adds these braces. Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
parent
93b98fc2de
commit
42f746c8d0
2 changed files with 2 additions and 1 deletions
|
@ -77,6 +77,7 @@ IncludeCategories:
|
|||
Priority: 3
|
||||
IndentCaseLabels: false
|
||||
IndentWidth: 8
|
||||
InsertBraces: true
|
||||
# SpaceBeforeParens: ControlStatementsExceptControlMacros # clang-format >= 13.0
|
||||
SortIncludes: false
|
||||
UseTab: Always
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue