Skip to content

Commit 07c91d7

Browse files
committed
Add SeparateDefinitionBlocks key to ClangFormat configuration
The previous ClangFormat configuration was developed for use with ClangFormat 11.0.1. The version of ClangFormat now in use by Arduino tools is 14.0.0. This configuration key was added in the interim. The key value set here was chosen in order to: - Align with behavior of the Arduino IDE 1.x "Auto Format" feature. The `Leave` value the most permissive.
1 parent b8df25d commit 07c91d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

other/clang-format-configuration/.clang-format

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ QualifierAlignment: Leave
135135
ReferenceAlignment: Pointer
136136
ReflowComments: false
137137
RemoveBracesLLVM: false
138+
SeparateDefinitionBlocks: Leave
138139
SortIncludes: Never
139140
SortUsingDeclarations: false
140141
SpaceAfterCStyleCast: false

0 commit comments

Comments
 (0)