From: Otto Moerbeek Date: Tue, 24 Sep 2019 11:27:45 +0000 (+0200) Subject: Incorporate suggestions from rgacogne X-Git-Tag: dnsdist-1.4.0-rc3~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8339%2Fhead;p=thirdparty%2Fpdns.git Incorporate suggestions from rgacogne --- diff --git a/.clang-format b/.clang-format index 94b628e6ee..f191321480 100644 --- a/.clang-format +++ b/.clang-format @@ -8,3 +8,23 @@ IndentWidth: 2 ObjCBlockIndentWidth: 2 SortIncludes: false + +SpaceBeforeCpp11BracedList: false +Cpp11BracedListStyle: true + +BreakBeforeBraces: Custom +BraceWrapping: + AfterClass: true + AfterControlStatement: false + AfterEnum: true + AfterExternBlock: true + AfterFunction: true + AfterNamespace: true + AfterStruct: true + AfterUnion: true + BeforeCatch: true + BeforeElse: true + +AllowAllParametersOfDeclarationOnNextLine: true +BreakConstructorInitializers: AfterColon +ConstructorInitializerAllOnOneLineOrOnePerLine: true