diff --git a/Config/.clang-format b/Config/.clang-format new file mode 100644 index 0000000..82fcb3a --- /dev/null +++ b/Config/.clang-format @@ -0,0 +1,28 @@ +# Common settings + +AlignAfterOpenBracket: Align +AlignConsecutiveAssignments: 'true' +AlignEscapedNewlines: Left +AlignOperands: 'true' +BreakBeforeBraces: Linux +ColumnLimit: '120' +IndentWidth: '4' +KeepEmptyLinesAtTheStartOfBlocks: 'false' +NamespaceIndentation: All +PointerAlignment: Right +SortIncludes: 'true' +SortUsingDeclarations: 'true' +SpaceAfterCStyleCast: 'true' +SpaceAfterLogicalNot: 'false' +SpaceAfterTemplateKeyword: 'false' +SpaceBeforeAssignmentOperators: 'true' +SpaceBeforeParens: ControlStatements +SpaceBeforeRangeBasedForLoopColon: 'true' +SpaceInEmptyParentheses: 'false' +SpacesInAngles: 'false' +SpacesInCStyleCastParentheses: 'false' +SpacesInContainerLiterals: 'false' +SpacesInParentheses: 'false' +SpacesInSquareBrackets: 'false' +TabWidth: '4' +UseTab: Never