From af2d3ad8426d9595c9a48f7a5295541ffe2f337b Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 19 Jul 2024 07:07:39 +0300 Subject: [PATCH] add .clang-format --- .clang-format | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..c2aed0ea --- /dev/null +++ b/.clang-format @@ -0,0 +1,19 @@ +Language: Cpp +Standard: c++17 +BasedOnStyle: Google +IndentWidth: 4 +TabWidth: 4 +UseTab: Never +ColumnLimit: 80 +IndentCaseLabels: true +NamespaceIndentation: All +FixNamespaceComments: false +SpaceBeforeCpp11BracedList: true +AllowShortFunctionsOnASingleLine: false +IndentAccessModifiers: false +AccessModifierOffset: -4 +EmptyLineBeforeAccessModifier: Never +BinPackArguments: false +BinPackParameters: false +AlignAfterOpenBracket: BlockIndent +BreakConstructorInitializers: BeforeColon