Skip to content

Commit

Permalink
[irods#292] .clang-format: Do not use tabs nor align trailing comments
Browse files Browse the repository at this point in the history
Restore use of tabs before running clang-format on all the code.

AlignTrailingComments is false in irods/irods and is generally annoying,
so don't restore that.
  • Loading branch information
alanking committed Jan 15, 2025
1 parent 4c759d6 commit 13e7013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Standard: c++20
ColumnLimit: 120
UseCRLF: false

UseTab: AlignWithSpaces
#UseTab: Never
#UseTab: AlignWithSpaces
UseTab: Never
TabWidth: 4
IndentWidth: 4
ConstructorInitializerIndentWidth: 4
Expand All @@ -28,7 +28,7 @@ AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AlignTrailingComments: false

AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
Expand Down

0 comments on commit 13e7013

Please sign in to comment.