diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..41e7b1a --- /dev/null +++ b/.clang-format @@ -0,0 +1,8 @@ +BasedOnStyle: LLVM +IndentWidth: 4 # Use 4 spaces for indentation +TabWidth: 4 # Tab width is also 4 spaces +UseTab: Never # Always use spaces instead of tabs +ColumnLimit: 80 # Wrap lines after 80 characters +AllowShortLoopsOnASingleLine: true +AlwaysBreakTemplateDeclarations: true +BreakConstructorInitializers: BeforeComma