Commit 87c07457e203bb0801ac3256de7bb61e79b6d01c
Committed by
GitHub
Merge pull request #1125 from m-holger/format
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 |