From d98c99957106165581e67b0d70f12e151440ea81 Mon Sep 17 00:00:00 2001 From: Rbb666 Date: Thu, 23 Jul 2026 11:00:27 +0800 Subject: [PATCH] Revert "[clang-format] Improve declaration alignment and spacing" This reverts commit c49320d57d324d789703d428b5fd78ca5413af4d. --- .clang-format | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.clang-format b/.clang-format index e65353af4e4..ebcac082c6a 100644 --- a/.clang-format +++ b/.clang-format @@ -10,7 +10,7 @@ AccessModifierOffset: -1 AlignAfterOpenBracket: Align AlignArrayOfStructures: None AlignConsecutiveAssignments: - Enabled: true + Enabled: false AcrossEmptyLines: false AcrossComments: false AlignCompound: true @@ -22,12 +22,10 @@ AlignConsecutiveBitFields: AlignCompound: true PadOperators: true AlignConsecutiveDeclarations: - Enabled: true + Enabled: false AcrossEmptyLines: false AcrossComments: false AlignCompound: false - AlignFunctionDeclarations: false - AlignFunctionPointers: true PadOperators: false AlignConsecutiveMacros: Enabled: true @@ -154,7 +152,7 @@ LambdaBodyIndentation: Signature LineEnding: DeriveLF MacroBlockBegin: "" MacroBlockEnd: "" -MaxEmptyLinesToKeep: 1 +MaxEmptyLinesToKeep: 2 NamespaceIndentation: All ObjCBinPackProtocolList: Auto ObjCBlockIndentWidth: 2