Merge pull request #266 from MihailRis/clang-format

Add .clang-format
This commit is contained in:
MihailRis 2024-07-19 21:45:57 +03:00 committed by GitHub
commit 9b8c421557
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

19
.clang-format Normal file
View File

@ -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