From 056c21367e99eabd3f3fcd5d32111f1c0980654e Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sat, 31 Jul 2010 15:43:23 +0300 Subject: [PATCH] Ticket #1914 Improve Astyle for parenthesis style Tell Astyle to remove extra spaces around parenthesis. --- runastyle | 18 +++++++++--------- runastyle.bat | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/runastyle b/runastyle index 8d2db5cd5..f2e8cc3c4 100755 --- a/runastyle +++ b/runastyle @@ -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 diff --git a/runastyle.bat b/runastyle.bat index 2f67bfbbf..4cc0d62d3 100644 --- a/runastyle.bat +++ b/runastyle.bat @@ -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