diff options
author | Mango0x45 <thomasvoss@live.com> | 2021-01-18 21:49:55 +0000 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2021-01-18 21:49:55 +0000 |
commit | 7e7afb89ce7f115bb30cf8261c65064ee395f955 (patch) | |
tree | e6cfa8d5d90a6c5e3a6a10685f42b19b0d6ad737 /utils | |
parent | ec84cde7fe5521055fa684d3d1d3b36d4c1af2e5 (diff) | |
download | steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.tar steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.tar.gz steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.tar.bz2 steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.tar.lz steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.tar.xz steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.tar.zst steve-bot-7e7afb89ce7f115bb30cf8261c65064ee395f955.zip |
Add clang-format config
Diffstat (limited to 'utils')
-rw-r--r-- | utils/.clang-format | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/utils/.clang-format b/utils/.clang-format new file mode 100644 index 0000000..0be45fa --- /dev/null +++ b/utils/.clang-format @@ -0,0 +1,59 @@ +Language: Cpp + +AlignAfterOpenBracket: Align +AlignConsecutiveAssignments: true +AlignConsecutiveBitFields: true +AlignConsecutiveDeclarations: false +AlignConsecutiveMacros: true +AlignEscapedNewlines: Right +AlignOperands: Align +AlignTrailingComments: true +AllowAllArgumentsOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: Empty +AllowShortCaseLabelsOnASingleLine: false +AllowShortEnumsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterReturnType: None +AlwaysBreakBeforeMultilineStrings: false +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: NonAssignment +BreakBeforeBraces: WebKit +BreakBeforeTernaryOperators: true +BreakStringLiterals: true +ColumnLimit: 80 +ContinuationIndentWidth: 4 +DeriveLineEnding: false +DerivePointerAlignment: false +DisableFormat: false +IncludeBlocks: Preserve +IndentCaseBlocks: false +IndentCaseLabels: false +IndentExternBlock: Indent +IndentGotoLabels: false +IndentPPDirectives: AfterHash +IndentWidth: 4 +IndentWrappedFunctionNames: false +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 2 +PointerAlignment: Right +ReflowComments: true +SortIncludes: true +SpaceAfterCStyleCast: true +SpaceAfterLogicalNot: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: ControlStatements +SpaceBeforeSquareBrackets: false +SpaceInEmptyBlock: false +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInCStyleCastParentheses: false +SpacesInConditionalStatement: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +TabWidth: 4 +UseCRLF: false +UseTab: Never |