Skip to content

Commit 0b1f754

Browse files
committed
Add SpaceBeforeCaseColon 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: - Comply with the established Arduino code style
1 parent e121f50 commit 0b1f754

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
@@ -145,6 +145,7 @@ SpaceAfterLogicalNot: false
145145
SpaceAfterTemplateKeyword: false
146146
SpaceAroundPointerQualifiers: Default
147147
SpaceBeforeAssignmentOperators: true
148+
SpaceBeforeCaseColon: false
148149
SpaceBeforeCpp11BracedList: false
149150
SpaceBeforeCtorInitializerColon: true
150151
SpaceBeforeInheritanceColon: true

0 commit comments

Comments
 (0)