asar icon indicating copy to clipboard operation
asar copied to clipboard

Clang format

Open bonimy opened this issue 2 years ago • 0 comments

clang-format all source files

All files were formatted with the command at repository root: find ./ -iname *.h -o -iname *.cpp | xargs clang-format -i

.clang-format contents:

---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 88
IndentWidth: 4
AccessModifierOffset: -4
SortIncludes: true
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
DerivePointerAlignment: false
MaxEmptyLinesToKeep: 2
...

To help with automerging, you will need to run this same command with the same formatting rules on your own branch. Then commit those changes, and then finally merged

bonimy avatar Sep 24 '22 01:09 bonimy