Skip to content

Commit

Permalink
refactor: update clang-format file to fix deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
nholthaus committed Dec 21, 2024
1 parent 34c38f8 commit c1a394b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveMacros: Consecutive
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: true
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
Expand All @@ -14,7 +16,7 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
Expand All @@ -23,8 +25,8 @@ BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: true
ColumnLimit: 160
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ColumnLimit: 200
PackConstructorInitializers: Never
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
Expand Down

0 comments on commit c1a394b

Please sign in to comment.