diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..80bbd88c1 --- /dev/null +++ b/.clang-format @@ -0,0 +1,22 @@ +--- +BasedOnStyle: Google +IndentWidth: 2 +BreakBeforeBraces: Allman +ColumnLimit: 110 + +--- +Language: Cpp +AccessModifierOffset: -1 +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +BreakConstructorInitializersBeforeComma: true +ConstructorInitializerIndentWidth: 1 +DerivePointerAlignment: false +IndentCaseLabels: false +NamespaceIndentation: None +PointerAlignment: Left +SortIncludes: true +Standard: Auto