diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..c05cc00 --- /dev/null +++ b/.clang-format @@ -0,0 +1,9 @@ +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 +AlignConsecutiveMacros: true diff --git a/.gitignore b/.gitignore index 9e64c4c..df19c89 100644 --- a/.gitignore +++ b/.gitignore @@ -10,12 +10,14 @@ # Build directories build/ bin/ +.cache # IDE and editor files .vscode/ .idea/ *.sublime-project *.sublime-workspace +compile_commands.json # Dependency directories lib/