From 13e7013762ebe633f37bd779b4f9344fb13bac1d Mon Sep 17 00:00:00 2001 From: Alan King Date: Fri, 10 Jan 2025 11:16:28 -0500 Subject: [PATCH] [#292] .clang-format: Do not use tabs nor align trailing comments 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. --- .clang-format | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.clang-format b/.clang-format index 61b71d7..f67c264 100644 --- a/.clang-format +++ b/.clang-format @@ -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 @@ -28,7 +28,7 @@ AlignConsecutiveDeclarations: None AlignConsecutiveMacros: AcrossEmptyLinesAndComments AlignEscapedNewlines: Left AlignOperands: Align -AlignTrailingComments: true +AlignTrailingComments: false AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: false