mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
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. From-SVN: r223282
This commit is contained in:
parent
ff10afd391
commit
7e425ad686
@ -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.
|
||||
|
@ -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:]]\('
|
||||
|
Loading…
Reference in New Issue
Block a user