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: '^\*|^/|^!' +...