]> granicus.if.org Git - pdns/commitdiff
clang-format file proposal
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Sep 2019 09:43:42 +0000 (11:43 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Sep 2019 09:48:01 +0000 (11:48 +0200)
Run with clang-format [-i] -style=file in the tree.
-i does an in-place edit, without it result is written to stdout.

.clang-format [new file with mode: 0644]

diff --git a/.clang-format b/.clang-format
new file mode 100644 (file)
index 0000000..94b628e
--- /dev/null
@@ -0,0 +1,10 @@
+---
+Language:        Cpp
+BasedOnStyle:  WebKit
+AccessModifierOffset: -2
+ConstructorInitializerIndentWidth: 2
+ContinuationIndentWidth: 2
+IndentWidth:     2
+ObjCBlockIndentWidth: 2
+
+SortIncludes:    false