diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000000000000000000000000000000000..c84d276d7f775d858aed22553cf1451315a6f8bd --- /dev/null +++ b/.clang-format @@ -0,0 +1,17 @@ +--- +Language: Cpp +BasedOnStyle: Google +AccessModifierOffset: -4 +AlignAfterOpenBracket: AlwaysBreak +AlignConsecutiveAssignments: true +AllowShortFunctionsOnASingleLine: None +AllowShortIfStatementsOnASingleLine: Never +AllowShortLambdasOnASingleLine: Empty +AllowShortLoopsOnASingleLine: false +BreakBeforeBinaryOperators: NonAssignment +ColumnLimit: 100 +IndentWidth: 4 +IncludeBlocks: Preserve +IndentGotoLabels: false +NamespaceIndentation: All +...