Skip to content

Commit 32daec3

Browse files
authored
clang-format: AllowShortBlocksOnASingleLine only if empty (#309)
1 parent 1753dd1 commit 32daec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AlignEscapedNewlinesLeft: true
99
AlignOperands: true
1010
AlignTrailingComments: true
1111
AllowAllParametersOfDeclarationOnNextLine: true
12-
AllowShortBlocksOnASingleLine: true
12+
AllowShortBlocksOnASingleLine: Empty
1313
AllowShortCaseLabelsOnASingleLine: true
1414
AllowShortFunctionsOnASingleLine: All
1515
AllowShortIfStatementsOnASingleLine: true

0 commit comments

Comments
 (0)