From 9a30e2da87ba05c90a593985dfed9df6b89775e5 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 17 Aug 2021 18:07:52 +0200 Subject: [PATCH] Changed two clang-format options related to braced lists. --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 71628c23e..335adde5d 100644 --- a/.clang-format +++ b/.clang-format @@ -66,7 +66,7 @@ CompactNamespaces: false ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 -Cpp11BracedListStyle: false +Cpp11BracedListStyle: true DeriveLineEnding: true DerivePointerAlignment: false DisableFormat: false @@ -119,7 +119,7 @@ SpaceAfterCStyleCast: false SpaceAfterLogicalNot: false SpaceAfterTemplateKeyword: true SpaceBeforeAssignmentOperators: true -SpaceBeforeCpp11BracedList: true +SpaceBeforeCpp11BracedList: false SpaceBeforeCtorInitializerColon: true SpaceBeforeInheritanceColon: true SpaceBeforeParens: ControlStatements