RPGHacker / asar

(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Other
199 stars 42 forks source link

Clang format #263

Open bonimy opened 1 year ago

bonimy commented 1 year ago

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