project: add clang-format

This commit is contained in:
Bruno BELANYI 2021-10-08 14:31:25 +02:00
parent 853ebeb6f3
commit 6a1f55d420
1 changed files with 10 additions and 0 deletions

10
.clang-format Normal file
View File

@ -0,0 +1,10 @@
# vim: ft=yaml
---
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
# Force pointers to the type for C++.
DerivePointerAlignment: false
PointerAlignment: Left
---