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