diff options
| author | 2019-09-24 13:42:46 +0200 | |
|---|---|---|
| committer | 2019-09-24 23:04:27 +0200 | |
| commit | 008c7730dfaff5abf15b2af081e95821dc30c6c4 (patch) | |
| tree | d34cc4df3e840b4a792e16bfac73afc4a06a989f | |
| parent | 79cddf83484b042bbffb95a274abe693a74c5efa (diff) | |
| download | OneRoll-008c7730dfaff5abf15b2af081e95821dc30c6c4.tar.gz OneRoll-008c7730dfaff5abf15b2af081e95821dc30c6c4.zip | |
add clang format file
| -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 |