]> granicus.if.org Git - pdns/commitdiff
Incorporate suggestions from rgacogne
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 24 Sep 2019 11:27:45 +0000 (13:27 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 24 Sep 2019 11:27:45 +0000 (13:27 +0200)
.clang-format

index 94b628e6eef4844c7755174fae6b8d57e6dcc3e5..f191321480809758644c7543796248cff962075e 100644 (file)
@@ -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