From 6a4ad2779606f4ff426eb8975b31222353e424ad Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 15 Jun 2024 15:51:36 +0200 Subject: [PATCH] Tuning clang-format to match original code --- .clang-format | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 841e62a..8342e5c 100644 --- a/.clang-format +++ b/.clang-format @@ -25,7 +25,7 @@ AlignConsecutiveDeclarations: AlignFunctionPointers: false PadOperators: false AlignConsecutiveMacros: - Enabled: false + Enabled: true AcrossEmptyLines: false AcrossComments: false AlignCompound: false @@ -92,7 +92,7 @@ BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeColon BreakInheritanceList: BeforeColon BreakStringLiterals: true -ColumnLimit: 79 +ColumnLimit: 120 CommentPragmas: '^ IWYU pragma:' CompactNamespaces: false ConstructorInitializerIndentWidth: 4 @@ -185,7 +185,7 @@ RequiresExpressionIndentation: OuterScope SeparateDefinitionBlocks: Leave ShortNamespaceLines: 1 SkipMacroDefinitionBody: false -SortIncludes: CaseSensitive +SortIncludes: false # Original: CaseInsensitive, breaks build SortJavaStaticImport: Before SortUsingDeclarations: LexicographicNumeric SpaceAfterCStyleCast: false @@ -198,7 +198,7 @@ SpaceBeforeCpp11BracedList: false SpaceBeforeCtorInitializerColon: true SpaceBeforeInheritanceColon: true SpaceBeforeJsonColon: false -SpaceBeforeParens: Always +SpaceBeforeParens: Never SpaceBeforeParensOptions: AfterControlStatements: false AfterForeachMacros: false