diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..13d0652 --- /dev/null +++ b/.clang-format @@ -0,0 +1,18 @@ +--- +Language: Cpp +BasedOnStyle: LLVM +IndentWidth: 2 +TabWidth: 2 +UseTab: Never +ColumnLimit: 100 +BreakBeforeBraces: Attach +AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +SpaceAfterCStyleCast: true +SpaceBeforeParens: ControlStatements +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +NamespaceIndentation: None +PointerAlignment: Left +ReferenceAlignment: Left