* [Committed] check_GNU_style.sh: Improve readability function calls
@ 2015-05-18 7:18 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2015-05-18 7:18 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 42 bytes --]
Hi,
committed as obvious.
Thanks,
- Tom
[-- Attachment #2: 0001-check_GNU_style.sh-Improve-readability-function-call.patch --]
[-- Type: text/x-patch, Size: 1045 bytes --]
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.
---
contrib/check_GNU_style.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh
index 90c612f..b86c474 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:]]\('
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-18 7:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 7:18 [Committed] check_GNU_style.sh: Improve readability function calls Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).