diff --git a/.clang-format b/.clang-format index 819c2d361ed02883dd895ad4a5caa7706d460257..1e124f7be82735bd4061a94f45c5772e4ff3fdaf 100644 --- a/.clang-format +++ b/.clang-format @@ -18,3 +18,8 @@ BasedOnStyle: Google DerivePointerAlignment: false ColumnLimit: 120 +IndentWidth: 4 +AccessModifierOffset: -3 +AlwaysBreakAfterReturnType: All +AllowShortBlocksOnASingleLine: false +AllowShortFunctionsOnASingleLine: false diff --git a/cpp/build-support/code_style_clion.xml b/cpp/build-support/code_style_clion.xml new file mode 100644 index 0000000000000000000000000000000000000000..4c7dc4718c8b2f8e1a33314fc04040171b5d9fcf --- /dev/null +++ b/cpp/build-support/code_style_clion.xml @@ -0,0 +1,39 @@ + + + + + + \ No newline at end of file