Set SpaceInEmptyBlock in .clang-format (#7775)

Explicitly adds "SpaceInEmptyBlock: false" to our .clang-format to match
the prior behavior when using newer versions such as 21.
This commit is contained in:
Derek Bruening
2026-01-15 17:01:45 -05:00
committed by GitHub
parent a203ae439f
commit b40136b480
+4
View File
@@ -21,4 +21,8 @@ PointerAlignment: Right
CommentPragmas: '^ clang-format: '
SortIncludes: false
MaxEmptyLinesToKeep: 1
SpaceInEmptyBlock: false
# SpaceInEmptyBlock is now deprecated and in clang-format 22 replaced by this,
# which we should enable when we move to that version:
#SpaceInEmptyBraces: Never
---