clang-format: init config

This commit is contained in:
Bruno BELANYI 2021-08-19 21:33:20 +02:00
parent e7c7b7a6e1
commit 14b8c4460c

13
.clang-format Normal file
View file

@ -0,0 +1,13 @@
# vim: ft=yaml
---
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
# Force pointers to the type for C++.
DerivePointerAlignment: false
PointerAlignment: Left
# Short functions should not be on a single line, unless empty
AllowShortFunctionsOnASingleLine: Empty
---