Add .clang-format

This commit is contained in:
jazzpi
2021-07-17 20:09:02 +02:00
parent beff90a10a
commit 7815f03c84
2 changed files with 21 additions and 14 deletions

7
.clang-format Normal file
View File

@ -0,0 +1,7 @@
BasedOnStyle: LLVM
IndentWidth: 2
ColumnLimit: 80
# Derive pointer alignment
DerivePointerAlignment: true
# As a fallback: pointers to the type (`int* x` instead of `int *x`)
PointerAlignment: Left