Skip to content

Commit 2083803

Browse files
chore: update global workflows (#30)
1 parent 6ad001a commit 2083803

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.clang-format

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
1616
AllowShortBlocksOnASingleLine: Empty
1717
AllowShortCaseLabelsOnASingleLine: false
1818
AllowShortEnumsOnASingleLine: false
19-
AllowShortFunctionsOnASingleLine: None
19+
AllowShortFunctionsOnASingleLine: Empty
2020
AllowShortIfStatementsOnASingleLine: Never
2121
AllowShortLambdasOnASingleLine: None
2222
AllowShortLoopsOnASingleLine: true
@@ -81,6 +81,7 @@ PenaltyBreakComment: 1
8181
PenaltyBreakString: 1
8282
PenaltyBreakFirstLessLess: 0
8383
PenaltyExcessCharacter: 1000000
84+
PenaltyReturnTypeOnItsOwnLine: 100000000
8485
PointerAlignment: Right
8586
ReferenceAlignment: Pointer
8687
ReflowComments: true

0 commit comments

Comments
 (0)