Skip to content

Commit 01a9684

Browse files
committed
tools: update .clang-format to use non-deprecated options
1 parent 3a53447 commit 01a9684

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.clang-format

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ Language: Cpp
33
# BasedOnStyle: Google
44
AccessModifierOffset: -1
55
AlignAfterOpenBracket: Align
6-
AlignConsecutiveAssignments: false
7-
AlignConsecutiveDeclarations: false
6+
AlignConsecutiveAssignments:
7+
Enabled: false
8+
AlignConsecutiveDeclarations:
9+
Enabled: false
810
AlignEscapedNewlines: Right
911
AlignOperands: true
1012
AlignTrailingComments: true
@@ -14,7 +16,6 @@ AllowShortCaseLabelsOnASingleLine: false
1416
AllowShortFunctionsOnASingleLine: Inline
1517
AllowShortIfStatementsOnASingleLine: true
1618
AllowShortLoopsOnASingleLine: true
17-
AlwaysBreakAfterDefinitionReturnType: None
1819
AlwaysBreakAfterReturnType: None
1920
AlwaysBreakBeforeMultilineStrings: false
2021
AlwaysBreakTemplateDeclarations: true
@@ -38,16 +39,15 @@ BraceWrapping:
3839
SplitEmptyNamespace: true
3940
BreakBeforeBinaryOperators: None
4041
BreakBeforeBraces: Attach
41-
BreakBeforeInheritanceComma: false
42+
BreakInheritanceList: BeforeColon
4243
BreakBeforeTernaryOperators: true
43-
BreakConstructorInitializersBeforeComma: false
4444
BreakConstructorInitializers: BeforeColon
4545
BreakAfterJavaFieldAnnotations: false
4646
BreakStringLiterals: true
4747
ColumnLimit: 80
4848
CommentPragmas: '^ IWYU pragma:'
4949
CompactNamespaces: false
50-
ConstructorInitializerAllOnOneLineOrOnePerLine: true
50+
PackConstructorInitializers: CurrentLine
5151
ConstructorInitializerIndentWidth: 4
5252
ContinuationIndentWidth: 4
5353
Cpp11BracedListStyle: true
@@ -93,7 +93,7 @@ PenaltyExcessCharacter: 1000000
9393
PenaltyReturnTypeOnItsOwnLine: 200
9494
PointerAlignment: Left
9595
ReflowComments: true
96-
SortIncludes: true
96+
SortIncludes: CaseSensitive
9797
SortUsingDeclarations: true
9898
SpaceAfterCStyleCast: false
9999
SpaceAfterTemplateKeyword: true

0 commit comments

Comments
 (0)