Skip to content

Commit 7989cc4

Browse files
committed
clang-format: allow short loops in single line
Signed-off-by: Filipe Laíns <[email protected]>
1 parent 9cacd91 commit 7989cc4

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
@@ -11,7 +11,7 @@ AllowShortBlocksOnASingleLine: false
1111
AllowShortCaseLabelsOnASingleLine: false
1212
AllowShortFunctionsOnASingleLine: None
1313
AllowShortIfStatementsOnASingleLine: false
14-
AllowShortLoopsOnASingleLine: false
14+
AllowShortLoopsOnASingleLine: true
1515
AlwaysBreakAfterReturnType: None
1616
AlwaysBreakBeforeMultilineStrings: false
1717
BinPackArguments: false

0 commit comments

Comments
 (0)