diff options
| -rw-r--r-- | .format.clang | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/.format.clang b/.format.clang new file mode 100644 index 0000000..e1cbd8a --- /dev/null +++ b/.format.clang @@ -0,0 +1,87 @@ +BasedOnStyle: LLVM + +AccessModifierOffset: '-2' + +AlignAfterOpenBracket: 'false' + +AlignConsecutiveAssignments: 'false' + +AlignOperands: 'true' + +AllowAllParametersOfDeclarationOnNextLine: 'true' + +IncludeBlocks: Regroup + +AllowShortBlocksOnASingleLine: 'false' + +AllowShortCaseLabelsOnASingleLine: 'false' + +AllowShortFunctionsOnASingleLine: Inline + +AllowShortIfStatementsOnASingleLine: 'false' + +AllowShortLoopsOnASingleLine: 'false' + +AlwaysBreakAfterDefinitionReturnType: None + +AlwaysBreakBeforeMultilineStrings: 'true' + +AlwaysBreakTemplateDeclarations: 'true' + +BinPackArguments: 'true' + +BinPackParameters: 'true' + +BreakBeforeBinaryOperators: All + +BreakBeforeBraces: Allman + +BreakBeforeTernaryOperators: 'false' + +BreakConstructorInitializersBeforeComma: 'true' + +ColumnLimit: '120' + +ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' + +ConstructorInitializerIndentWidth: '4' + +ContinuationIndentWidth: '4' + +Cpp11BracedListStyle: 'true' + +IndentWidth: '4' + +KeepEmptyLinesAtTheStartOfBlocks: 'false' + +Language: Cpp + +MaxEmptyLinesToKeep: '1' + +NamespaceIndentation: All + +PointerAlignment: Left + +SpaceAfterCStyleCast: 'false' + +SpaceBeforeAssignmentOperators: 'true' + +SpaceBeforeParens: Never + +SpaceInEmptyParentheses: 'false' + +SpacesBeforeTrailingComments: '1' + +SpacesInAngles: 'false' + +SpacesInCStyleCastParentheses: 'false' + +SpacesInParentheses: 'false' + +SpacesInSquareBrackets: 'false' + +Standard: Cpp11 + +TabWidth: '4' + +UseTab: Never
\ No newline at end of file |