Skip to content

Commit

Permalink
Update clang-format config for aligning trailing comments
Browse files Browse the repository at this point in the history
Now requires clang-format 16.
  • Loading branch information
mikke89 committed Aug 29, 2024
1 parent 15c98ee commit 05c5c9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: false
AlignTrailingComments: true
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
Expand Down

0 comments on commit 05c5c9b

Please sign in to comment.