From 25930bcd7c39059fc26a7c2827b655fa5333bf36 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 29 Nov 2021 03:04:01 +0000 Subject: (ClangFormat)~fixing some extras that were annoying me Things that kinda annoyed me about LLVM style which I wanted to clear up. --- ClangFormat/.clang-format | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ClangFormat/.clang-format b/ClangFormat/.clang-format index fb0ef55..86e797d 100644 --- a/ClangFormat/.clang-format +++ b/ClangFormat/.clang-format @@ -8,10 +8,11 @@ AlignConsecutiveBitFields: true AlignConsecutiveMacros: true AlignEscapedNewlines: true AllowShortLoopsOnASingleLine: false -AllowShortLambdasOnASingleLine: Empty +AllowShortFunctionsOnASingleLine: false +AllowShortLambdasOnASingleLine: false AlwaysBreakTemplateDeclarations: Yes -BreakBeforeBraces: Custom NamespaceIndentation: All +BreakBeforeBraces: Custom BraceWrapping: AfterEnum: true AfterStruct: true @@ -21,7 +22,8 @@ BraceWrapping: AfterUnion: true AfterControlStatement: true AfterExternBlock: true + BeforeLambdaBody: true BeforeCatch: true BeforeElse: true IndentBraces: false - SplitEmptyFunction: true + SplitEmptyFunction: false -- cgit v1.2.3-13-gbd6f