mirror of git://gcc.gnu.org/git/gcc.git
check_GNU_style.sh: Avoid false posivies in trailing operator checks.
From-SVN: r234965
This commit is contained in:
parent
a6297ab587
commit
2ecc0c837b
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-04-13 Martin Sebor <msebor@redhat.com>
|
||||||
|
|
||||||
|
* check_GNU_style.sh: Avoid false posivies in trailing operator
|
||||||
|
checks.
|
||||||
|
|
||||||
2016-03-07 Martin Sebor <msebor@redhat.com>
|
2016-03-07 Martin Sebor <msebor@redhat.com>
|
||||||
|
|
||||||
* check_GNU_style.sh (color): New global variable.
|
* check_GNU_style.sh (color): New global variable.
|
||||||
|
|
|
||||||
|
|
@ -240,6 +240,7 @@ g 'There should be no space before closing parenthesis.' \
|
||||||
g 'Braces should be on a separate line.' \
|
g 'Braces should be on a separate line.' \
|
||||||
'(\)|else)[[:blank:]]*{'
|
'(\)|else)[[:blank:]]*{'
|
||||||
|
|
||||||
# Does this apply to definition of aggregate objects?
|
# Does this apply to definitions of aggregate objects?
|
||||||
g 'Trailing operator.' \
|
ag 'Trailing operator.' \
|
||||||
|
'^[1-9][0-9]*:\+[[:space:]]' \
|
||||||
'(([^a-zA-Z_]\*)|([-%<=&|^?])|([^*]/)|([^:][+]))$'
|
'(([^a-zA-Z_]\*)|([-%<=&|^?])|([^*]/)|([^:][+]))$'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue