Skip to content

Commit fb9ccfc

Browse files
committed
chore: update clang-format rules
1 parent 6db46af commit fb9ccfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rumale-tree/.clang-format

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Language: Cpp
33
# BasedOnStyle: LLVM
44
AccessModifierOffset: -2
5-
AlignAfterOpenBracket: Align
5+
AlignAfterOpenBracket: BlockIndent
66
AlignConsecutiveMacros: false
77
AlignConsecutiveAssignments: false
88
AlignConsecutiveBitFields: false
@@ -16,7 +16,7 @@ AllowAllParametersOfDeclarationOnNextLine: true
1616
AllowShortEnumsOnASingleLine: true
1717
AllowShortBlocksOnASingleLine: Never
1818
AllowShortCaseLabelsOnASingleLine: false
19-
AllowShortFunctionsOnASingleLine: All
19+
AllowShortFunctionsOnASingleLine: Empty
2020
AllowShortLambdasOnASingleLine: All
2121
AllowShortIfStatementsOnASingleLine: true
2222
AllowShortLoopsOnASingleLine: true
@@ -54,7 +54,7 @@ BreakConstructorInitializersBeforeComma: false
5454
BreakConstructorInitializers: BeforeColon
5555
BreakAfterJavaFieldAnnotations: false
5656
BreakStringLiterals: true
57-
ColumnLimit: 0
57+
ColumnLimit: 96
5858
CommentPragmas: '^ IWYU pragma:'
5959
CompactNamespaces: false
6060
ConstructorInitializerAllOnOneLineOrOnePerLine: false
@@ -113,7 +113,7 @@ PenaltyExcessCharacter: 1000000
113113
PenaltyReturnTypeOnItsOwnLine: 60
114114
PointerAlignment: Left
115115
ReflowComments: true
116-
SortIncludes: true
116+
SortIncludes: false
117117
SortUsingDeclarations: true
118118
SpaceAfterCStyleCast: false
119119
SpaceAfterLogicalNot: false

0 commit comments

Comments
 (0)