diff --git a/.clang-format b/.clang-format new file mode 100755 index 0000000..efb5882 --- /dev/null +++ b/.clang-format @@ -0,0 +1,24 @@ +--- +BasedOnStyle: Google +AccessModifierOffset: -4 +AlignAfterOpenBracket: BlockIndent +AlignOperands: AlignAfterOperator +AlignTrailingComments: false +AllowAllArgumentsOnNextLine: false +AllowAllConstructorInitializersOnNextLine: false +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +BinPackArguments: false +BinPackParameters: false +BreakBeforeBinaryOperators: All +BreakConstructorInitializers: BeforeComma +BreakInheritanceList: BeforeComma +ColumnLimit: 88 +DerivePointerAlignment: false +IndentWidth: 4 +InsertBraces: true +InsertTrailingCommas: Wrapped +PackConstructorInitializers: Never +TabWidth: 4 +UseTab: ForContinuationAndIndentation diff --git a/lib/.clang-format b/lib/.clang-format new file mode 100644 index 0000000..a5121ff --- /dev/null +++ b/lib/.clang-format @@ -0,0 +1,3 @@ +--- +DisableFormat: true +SortIncludes: Never