added clang-format style

This commit is contained in:
2024-02-02 19:54:16 +01:00
parent 0a1d2bb9e8
commit d1306d9fc2

14
.clang-format Normal file
View File

@@ -0,0 +1,14 @@
# Format Style Options - Created with Clang Power Tools
---
BasedOnStyle: Mozilla
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: DontAlign
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BreakBeforeBraces: Attach
ColumnLimit: 120
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
MaxEmptyLinesToKeep: 3
...