Ticket #1914 Improve Astyle for parenthesis style

Tell Astyle to remove extra spaces around parenthesis.
This commit is contained in:
Kimmo Varis 2010-07-31 15:43:23 +03:00
parent a274cb1015
commit 056c21367e
2 changed files with 18 additions and 18 deletions

View File

@ -1,13 +1,13 @@
#!/bin/bash
astyle --style=ansi --min-conditional-indent=0 --pad-header cli/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header cli/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header gui/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header gui/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header lib/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header lib/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header test/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header test/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren cli/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren cli/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren gui/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren gui/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren lib/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren lib/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren test/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren test/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header tools/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren tools/*.cpp

View File

@ -1,12 +1,12 @@
astyle --style=ansi --min-conditional-indent=0 --pad-header cli/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header cli/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header gui/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header gui/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header lib/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header lib/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header test/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header test/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren cli/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren cli/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren gui/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren gui/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren lib/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren lib/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren test/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren test/*.h
astyle --style=ansi --min-conditional-indent=0 --pad-header tools/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad-header --unpad-paren tools/*.cpp