From: Otto Moerbeek Date: Mon, 23 Sep 2019 09:43:42 +0000 (+0200) Subject: clang-format file proposal X-Git-Tag: dnsdist-1.4.0-rc3~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6e4209dc5c62344a6e2f76890c049b35e7aff6;p=thirdparty%2Fpdns.git clang-format file proposal Run with clang-format [-i] -style=file in the tree. -i does an in-place edit, without it result is written to stdout. --- diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..94b628e6ee --- /dev/null +++ b/.clang-format @@ -0,0 +1,10 @@ +--- +Language: Cpp +BasedOnStyle: WebKit +AccessModifierOffset: -2 +ConstructorInitializerIndentWidth: 2 +ContinuationIndentWidth: 2 +IndentWidth: 2 +ObjCBlockIndentWidth: 2 + +SortIncludes: false