mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-29 13:00:40 +08:00
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>
|
||||
|
||||
* 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.' \
|
||||
'(\)|else)[[:blank:]]*{'
|
||||
|
||||
# Does this apply to definition of aggregate objects?
|
||||
g 'Trailing operator.' \
|
||||
# Does this apply to definitions of aggregate objects?
|
||||
ag 'Trailing operator.' \
|
||||
'^[1-9][0-9]*:\+[[:space:]]' \
|
||||
'(([^a-zA-Z_]\*)|([-%<=&|^?])|([^*]/)|([^:][+]))$'
|
||||
|
Loading…
Reference in New Issue
Block a user