Skip to content

Commit

Permalink
Align comments with clang-format-16
Browse files Browse the repository at this point in the history
Running `clang-format-16` locally aligns trailing comments differently than what's already in `dev`. Furthermore, the directive `AlignTrailingComments` changed from its old value (boolean) to one with more parameters. This PR updates `.clang-format` for that directive and includes the files changed by the formatting. Hopefully this reduces any variation between local and CI installations.
  • Loading branch information
eric-hughes-tiledb committed Oct 4, 2023
1 parent 70f5b4f commit 7274e27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
#AlignTrailingComments: true
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
Expand Down

0 comments on commit 7274e27

Please sign in to comment.