summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-18 07:07:27 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-18 07:07:27 +0000
commitb089ae166c8aeafb9a724d7c309cd9effdc29d4d (patch)
tree7a013c4b1e7736c935c689bf8a4bf7795d805b18 /contrib
parent56c066e025a9d7ad4960a3ae725463bfb5df1e5a (diff)
downloadgcc-b089ae166c8aeafb9a724d7c309cd9effdc29d4d.tar.gz
check_GNU_style.sh: Improve readability function calls
2015-05-18 Tom de Vries <tom@codesourcery.com> * check_GNU_style.sh: Improve readability function calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223282 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/check_GNU_style.sh7
2 files changed, 8 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index e9768a21a10..eb350088f30 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-18 Tom de Vries <tom@codesourcery.com>
+
+ * check_GNU_style.sh: Improve readability function calls.
+
2015-05-12 Tom de Vries <tom@codesourcery.com>
* check_GNU_style.sh (col): Fix tab size.
diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh
index 90c612ff1cb..b86c4742acf 100755
--- a/contrib/check_GNU_style.sh
+++ b/contrib/check_GNU_style.sh
@@ -170,11 +170,12 @@ g 'Sentences should end with a dot. Dot, space, space, end of the comment.' \
'[[:alnum:]][[:blank:]]*\*/'
vg 'There should be exactly one space between function name and parentheses.' \
- '\#define' '[[:alnum:]]([[:blank:]]{2,})?\('
+ '\#define' \
+ '[[:alnum:]]([[:blank:]]{2,})?\('
g 'There should be no space before closing parentheses.' \
'[[:graph:]][[:blank:]]+\)'
ag 'Braces should be on a separate line.' \
- '\{' 'if[[:blank:]]\(|while[[:blank:]]\(|switch[[:blank:]]\('
-
+ '\{' \
+ 'if[[:blank:]]\(|while[[:blank:]]\(|switch[[:blank:]]\('