new: initial clang format file

This coding convention's solely goal is to approximately match the current code style.
It MUST not be intended in any other way until a real and definitive coding convention is put in.

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato 2019-06-25 14:53:15 +00:00 committed by Lorenzo Fontana
parent 93537ccaea
commit f4fea8441c

10
.clang-format Normal file
View File

@ -0,0 +1,10 @@
# This coding convention's solely goal is to approximately match the current code style.
# It MUST not be intended in any other way until a real and definitive coding convention is put in.
---
BreakBeforeBraces: GNU
ColumnLimit: 0
IndentWidth: 4
Language: Cpp
SpaceBeforeParens: Never
Standard: Auto
UseTab: Always