diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..9049d7a0 --- /dev/null +++ b/.clang-format @@ -0,0 +1,14 @@ +BasedOnStyle: Google +IndentWidth: 4 +ColumnLimit: 120 +AccessModifierOffset: -2 +TabWidth: 4 +NamespaceIndentation: All +UseTab: ForContinuationAndIndentation +AllowShortEnumsOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +Cpp11BracedListStyle: true +PackConstructorInitializers: BinPack +AlignAfterOpenBracket: BlockIndent