AliveTeam / alive_reversing

Re-implementation of Oddworld: Abe's Exoddus and Oddworld: Abe's Oddysee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Standards - clang formatting needs refining

rozniak opened this issue · comments

The clang formatting rules are very annoying at the moment. The formatting rules have a habit of shoving literally everything on one line, forcing you to manually undo things to make the code legible again.

Mainly I find this is a problem with shifting brackets and braces onto one line, basically anything that you want to separate on new lines it will squash it all back up.

With clang format you can change it to whatever ye like but then reformat before commit to the format file that is in the repo. Probably better than doing another mass clang reformat until the engine code is mostly de-duplicated/addreses removed from vars and manual ctor/dtor calls are gone.