add .clang-format

This commit is contained in:
MihailRis 2024-07-19 07:07:39 +03:00
parent 2294690f29
commit af2d3ad842

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