Messages in this thread | | | Subject | Re: [PATCH] checkpatch: Add a --strict test for macro argument reuse and precedence | From | Joe Perches <> | Date | Sun, 04 Sep 2016 07:42:43 -0700 |
| |
On Sat, 2016-09-03 at 15:20 -0700, Joe Perches wrote: > Add a test for reuse of macro arguments to highlight any possible > side-effects from this reuse. > > Avoid this check on token name pasting and when the > argument is used in a typeof or a __builtin. > > Add a test for macro arguents that have leading or trailing operators > where the argument isn't parenthesized to avoid possible precedence > issues. > > These tests are noisy so make them --strict.
This should have been RFC. Please do not apply this.
These tests are not just noisy, some false positives it reports are just silly.
| |