Commit 9e62e7a6b4f85155c72f8ff0ad34487e5beb4ca2
1 parent
7315aa8c
Update .clang-format to require braces after control statements
Showing
1 changed file
with
1 additions
and
0 deletions
.clang-format
| @@ -41,6 +41,7 @@ IndentCaseBlocks: true | @@ -41,6 +41,7 @@ IndentCaseBlocks: true | ||
| 41 | IndentExternBlock: Indent | 41 | IndentExternBlock: Indent |
| 42 | IndentPPDirectives: AfterHash | 42 | IndentPPDirectives: AfterHash |
| 43 | IndentWidth: 4 | 43 | IndentWidth: 4 |
| 44 | +InsertBraces: true | ||
| 44 | InsertTrailingCommas: Wrapped | 45 | InsertTrailingCommas: Wrapped |
| 45 | KeepEmptyLinesAtTheStartOfBlocks: false | 46 | KeepEmptyLinesAtTheStartOfBlocks: false |
| 46 | NamespaceIndentation: All | 47 | NamespaceIndentation: All |