Modify .clang-format to have declarations aligned

This commit is contained in:
guangli-dai 2025-05-20 11:58:26 -07:00 committed by Qi Wang
parent 1818170c8d
commit 4531411abe

View file

@ -4,10 +4,10 @@
# AccessModifierOffset: -2 # AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Right AlignEscapedNewlines: Right
AlignOperands: false AlignOperands: false
AlignTrailingComments: false AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false