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