From 6e3b1f8e7b832f20e8f0b43a6c340adb56560bd0 Mon Sep 17 00:00:00 2001 From: Daniel Schmitz Date: Tue, 22 Jun 2021 17:19:25 +0800 Subject: [PATCH] wip --- .clang-format | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..d479d56 --- /dev/null +++ b/.clang-format @@ -0,0 +1,14 @@ +--- +BasedOnStyle: Google +Standard: Cpp11 + +IndentWidth: 4 +TabWidth: 4 +AccessModifierOffset: -2 + +DerivePointerAlignment: false +PointerAlignment: Left + +# Prevent breaking doxygen, as clang-format doesn't support reflowing of doxygen comments yet (as of 3.5.0). +CommentPragmas: '^\*|^/|^!' +...