chore: set up clang-format
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia4928173791618598031d584f7b6cf166a6a6964
This commit is contained in:
parent
4aa514d83d
commit
5b80e3aa63
1 changed files with 18 additions and 0 deletions
18
.clang-format
Normal file
18
.clang-format
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
IndentWidth: 2
|
||||||
|
TabWidth: 2
|
||||||
|
UseTab: Never
|
||||||
|
ColumnLimit: 100
|
||||||
|
BreakBeforeBraces: Attach
|
||||||
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
SpaceAfterCStyleCast: true
|
||||||
|
SpaceBeforeParens: ControlStatements
|
||||||
|
AlignConsecutiveAssignments: false
|
||||||
|
AlignConsecutiveDeclarations: false
|
||||||
|
NamespaceIndentation: None
|
||||||
|
PointerAlignment: Left
|
||||||
|
ReferenceAlignment: Left
|
||||||
Loading…
Add table
Add a link
Reference in a new issue