Skip to content

Commit b82c720

Browse files
committed
[format] Use AlignFunctionDeclarations from clang-format 20.1.0
1 parent 70da9f5 commit b82c720

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.clang-format

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ AccessModifierOffset: -3
33
AlignAfterOpenBracket: Align
44
AlignConsecutiveAssignments: None
55
# This would be nice to have but seems to also (mis)align function parameters
6-
AlignConsecutiveDeclarations: None
6+
# AlignFunctionDeclarations: true
7+
AlignConsecutiveDeclarations:
8+
Enabled: true
9+
# Part of clang-format 20.1.0
10+
AlignFunctionDeclarations: true
711
AlignEscapedNewlines: Left
812
AlignOperands: true
913
AlignTrailingComments: true

0 commit comments

Comments
 (0)