diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-11-29 03:04:01 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-11-29 03:04:01 +0000 |
commit | 25930bcd7c39059fc26a7c2827b655fa5333bf36 (patch) | |
tree | a5e13833787c02e205153f76a588bfa8b4259250 /ClangFormat/.clang-format | |
parent | f61c304ea350708cafdf19b63ca40aba003077d6 (diff) | |
download | dotfiles-25930bcd7c39059fc26a7c2827b655fa5333bf36.tar.gz dotfiles-25930bcd7c39059fc26a7c2827b655fa5333bf36.tar.bz2 dotfiles-25930bcd7c39059fc26a7c2827b655fa5333bf36.zip |
(ClangFormat)~fixing some extras that were annoying me
Things that kinda annoyed me about LLVM style which I wanted to clear up.
Diffstat (limited to 'ClangFormat/.clang-format')
-rw-r--r-- | ClangFormat/.clang-format | 8 |
1 files 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 |