22 Nov
2020
22 Nov
'20
3:46 p.m.
On 11/21/20 7:23 PM, Matthew Wilcox wrote:
On Sat, Nov 21, 2020 at 08:50:58AM -0800, trix@redhat.com wrote:
The fixer review is https://reviews.llvm.org/D91789
A run over allyesconfig for x86_64 finds 62 issues, 5 are false positives. The false positives are caused by macros passed to other macros and by some macro expansions that did not have an extra semicolon.
This cleans up about 1,000 of the current 10,000 -Wextra-semi-stmt warnings in linux-next.
Are any of them not false-positives? It's all very well to enable stricter warnings, but if they don't fix any bugs, they're just churn.
While enabling additional warnings may be a side effect of this effort
the primary goal is to set up a cleaning robot. After that a refactoring robot.
Tom