systems-nuts / unifico

Compiler and build harness for heterogeneous-ISA binaries with the same stack layout.
4 stars 1 forks source link

Added initial .clang-format file #227

Closed blackgeorge-boom closed 1 year ago

blackgeorge-boom commented 1 year ago

Also added it to the pre-commit hooks.

I'm not very religious with the clang-format settings. LLVM's works just fine.

I only changed the indentation size, because I find only 2 spaces to be too "dense". I also like a newline after a function's brace.

I'm adding this to the pre-commit hooks, hopefully that should do the trick.