This tries to follow http://geosoft.no/development/cppstyle.html as close as possible.
astyle -s2 -l -C -S -N -L -w -y -p -d -U -c -E -j -H -k1 -Y files.*
AStyle doesn't limit the line length, but if you run astyle, then indent -kr -i2, then astyle again you get barely acceptable results. I've had problems compiling after doing this, but it was simple to correct them.
Subscrever:
Enviar feedback (Atom)
Sem comentários:
Enviar um comentário