Re: [PATCH] avoid false positives in trailing operator rule in check_GNU_style.sh

2016-04-13 Thread Jeff Law
On 04/04/2016 11:59 AM, Martin Sebor wrote: My recent change to check_GNU_style.sh (commit 1bbf98) introduces false positives for declarations of functions with a pointer return type. For example, in the following, the asterisk in the "void *" return type is incorrectly diagnosed as a trailing o

[PATCH] avoid false positives in trailing operator rule in check_GNU_style.sh

2016-04-04 Thread Martin Sebor
My recent change to check_GNU_style.sh (commit 1bbf98) introduces false positives for declarations of functions with a pointer return type. For example, in the following, the asterisk in the "void *" return type is incorrectly diagnosed as a trailing operator: -void -foo (void); +void *