diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..b876b5f24 --- /dev/null +++ b/.clang-format @@ -0,0 +1,16 @@ +BasedOnStyle: LLVM +IndentWidth: 4 +TabWidth: 4 +AccessModifierOffset: -4 +UseTab: ForIndentation +AllowShortIfStatementsOnASingleLine: true +ColumnLimit: 100 +ConstructorInitializerIndentWidth: 0 +AllowShortFunctionsOnASingleLine: None +PointerAlignment: Left +SortIncludes: false +ConstructorInitializerAllOnOneLineOrOnePerLine: false +SpaceBeforeParens: ControlStatements +SpacesInContainerLiterals: true +Cpp11BracedListStyle: false +IndentCaseLabels: true