mirror of
https://github.com/DynamoRIO/dynamorio.git
synced 2026-10-12 02:02:04 +00:00
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:
@@ -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
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user