aL4ix / O-Nes-Sama

A NES emulator with lots of love
GNU General Public License v3.0
3 stars 0 forks source link

Formatting with clang-format #54

Closed aL4ix closed 7 months ago

aL4ix commented 7 months ago

@fedgimeno I researched AStyle and clang-format and liked clang better because it can handle the code better and really formats all the code. From the available styles (examples here: https://github.com/motine/cppstylelineup) the best to me and closest to the current style was "Webkit". ("Microsoft" doesn't want long lines and the rest uses 2-space indentation). Do you like the new style? I checked all files and made sure the style was not affecting the readability of the code, but could you please review them again?