diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..5e4b24ca4 --- /dev/null +++ b/.clang-format @@ -0,0 +1,17 @@ +BasedOnStyle: LLVM +AccessModifierOffset: -8 +AllowAllConstructorInitializersOnNextLine: false +AlwaysBreakTemplateDeclarations: Yes +BraceWrapping: + AfterFunction: true + SplitEmptyFunction: true +BreakConstructorInitializers: BeforeColon +ColumnLimit: 90 +ConstructorInitializerIndentWidth: 0 +ContinuationIndentWidth: 8 +IndentCaseLabels: false +IndentPPDirectives: AfterHash +IndentWidth: 8 +Standard: c++17 +TabWidth: 8 +UseTab: Always