Skip to content

Commit

Permalink
NO-ISSUE: update .clang-format options to be less annoying (#1292)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek authored Dec 2, 2023
1 parent e9b91c8 commit d705fff
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ PointerAlignment: Right
SpaceAroundPointerQualifiers: Both
BreakBeforeBinaryOperators: NonAssignment
SpaceAfterCStyleCast: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: AcrossComments
AlignConsecutiveDeclarations: AcrossComments
AlignConsecutiveMacros: AcrossComments
KeepEmptyLinesAtTheStartOfBlocks: false
ExperimentalAutoDetectBinPacking: true
AlignTrailingComments:
Kind: Leave
SeparateDefinitionBlocks: Leave
MaxEmptyLinesToKeep: 3

IncludeCategories:
# python-related headers must go first
Expand Down

0 comments on commit d705fff

Please sign in to comment.