astyle can automatically update your code with desired style. Documentation.
my astyle is this options="--style=k/r --pad-header --pad-paren-in --add-brackets --align-pointer=type --indent=spaces"find . -iname "*.cpp" -or -iname "*.h" | xargs astyle $options.
Коментарі
Дописати коментар