Skip to content

Commit b8df25d

Browse files
committed
Add RemoveBracesLLVM 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. - Comply with the established Arduino code style
1 parent 002a4a6 commit b8df25d

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
@@ -134,6 +134,7 @@ PointerAlignment: Right
134134
QualifierAlignment: Leave
135135
ReferenceAlignment: Pointer
136136
ReflowComments: false
137+
RemoveBracesLLVM: false
137138
SortIncludes: Never
138139
SortUsingDeclarations: false
139140
SpaceAfterCStyleCast: false

0 commit comments

Comments
 (0)