Skip to content

Commit

Permalink
Update our clang-format config with @gedankenexperimenter's recommend…
Browse files Browse the repository at this point in the history
…ed clang-format-15 settings
  • Loading branch information
gedankenexperimenter authored and obra committed Dec 21, 2023
1 parent fe2e3e7 commit 6a8a25e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ AttributeMacros:
- __attribute__((unused))
BinPackArguments: false
BinPackParameters: false
# BraceWrapping:
# SplitEmptyFunction: false
# SplitEmptyRecord: true
# SplitEmptyNamespace: true
# BreakBeforeBraces: Custom
BraceWrapping:
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBraces: Custom
ColumnLimit: 0
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Expand All @@ -39,9 +39,9 @@ FixNamespaceComments: true
IndentCaseLabels: false
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 2
# PackConstructorInitializers: CurrentLine
PackConstructorInitializers: NextLine
PointerAlignment: Right
# ReferenceAlignment: Right
ReferenceAlignment: Right
ReflowComments: false
SortIncludes: false
SpaceAfterTemplateKeyword: false

0 comments on commit 6a8a25e

Please sign in to comment.