From 39ecf1710f1b380f30eebef55098dfc3abee5af9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 1 Nov 2024 07:04:05 +0000 Subject: Allman fits my C/C++ brace wrapping style --- ClangFormat/.clang-format | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/ClangFormat/.clang-format b/ClangFormat/.clang-format index 20c4e46..9d430ee 100644 --- a/ClangFormat/.clang-format +++ b/ClangFormat/.clang-format @@ -10,21 +10,7 @@ AllowShortLambdasOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakTemplateDeclarations: Yes BasedOnStyle: LLVM -BreakBeforeBraces: Custom -BraceWrapping: - AfterEnum: true - AfterStruct: true - AfterFunction: true - AfterNamespace: true - AfterClass: true - AfterUnion: true - AfterControlStatement: true - AfterExternBlock: true - BeforeLambdaBody: true - BeforeCatch: true - BeforeElse: true - SplitEmptyFunction: true - IndentBraces: false +BreakBeforeBraces: Allman ColumnLimit: 80 IndentWidth: 2 NamespaceIndentation: All -- cgit v1.2.3-13-gbd6f