clang-format: init config
This commit is contained in:
parent
e7c7b7a6e1
commit
14b8c4460c
1 changed files with 13 additions and 0 deletions
13
.clang-format
Normal file
13
.clang-format
Normal 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
|
||||||
|
---
|
||||||
Loading…
Add table
Add a link
Reference in a new issue