From 17bb11fc4227e46fea4af7dcafb3c380b8fa3d64 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 12 Dec 2024 19:20:05 -0300 Subject: [PATCH] [clang-format] Change SpaceInEmptyBlock=false I love { } for empty blocks, but it looks like {} is too common among developers now. --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 84d1f8c61..029eed94b 100644 --- a/.clang-format +++ b/.clang-format @@ -203,7 +203,7 @@ SpaceBeforeParensOptions: BeforeNonEmptyParentheses: false SpaceBeforeRangeBasedForLoopColon: true SpaceBeforeSquareBrackets: false -SpaceInEmptyBlock: true +SpaceInEmptyBlock: false SpacesBeforeTrailingComments: 1 SpacesInAngles: Never SpacesInContainerLiterals: false