Revert "[clang-format] Improve declaration alignment and spacing"

This reverts commit c49320d57d.
This commit is contained in:
Rbb666
2026-07-23 11:10:42 +08:00
committed by Rbb666
parent f975c7c4ca
commit e01b14c818
+3 -5
View File
@@ -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