From 9e62e7a6b4f85155c72f8ff0ad34487e5beb4ca2 Mon Sep 17 00:00:00 2001 From: m-holger Date: Tue, 16 Jan 2024 12:28:34 +0000 Subject: [PATCH] Update .clang-format to require braces after control statements --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index debe191b..57594c71 100644 --- a/.clang-format +++ b/.clang-format @@ -41,6 +41,7 @@ IndentCaseBlocks: true IndentExternBlock: Indent IndentPPDirectives: AfterHash IndentWidth: 4 +InsertBraces: true InsertTrailingCommas: Wrapped KeepEmptyLinesAtTheStartOfBlocks: false NamespaceIndentation: All