diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..ea84d6ab6 --- /dev/null +++ b/.clang-format @@ -0,0 +1,34 @@ +--- +AlignConsecutiveMacros: 'true' +AlignConsecutiveAssignments: 'true' +AlignConsecutiveDeclarations: 'true' +AlignTrailingComments: 'true' +AllowAllConstructorInitializersOnNextLine: 'false' +AllowAllParametersOfDeclarationOnNextLine: 'false' +AllowShortBlocksOnASingleLine: 'false' +AllowShortCaseLabelsOnASingleLine: 'false' +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: Never +AllowShortLambdasOnASingleLine: Inline +AllowShortLoopsOnASingleLine: 'true' +BinPackArguments: 'true' +BinPackParameters: 'true' +BreakBeforeBraces: Allman +IndentWidth: '4' +SpaceAfterCStyleCast: 'true' +SpaceBeforeCpp11BracedList: 'true' +SpaceBeforeParens: ControlStatements +SpaceBeforeRangeBasedForLoopColon: 'true' +SpaceInEmptyParentheses: 'false' +SpacesInAngles: 'false' +SpacesInCStyleCastParentheses: 'false' +SpacesInContainerLiterals: 'false' +SpacesInParentheses: 'false' +Standard: Latest +TabWidth: '0' +UseTab: Never +PointerAlignment: Left +ColumnLimit: 0 + + +...