[PATCH] D90180: [clang-tidy] find/fix unneeded semicolon after switch

Tom Rix via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 17:01:56 PDT 2020


trixirt added a comment.

Yes, this automates the fixit to something precise.
There are about 10,000 problems in the kernel with -Wextra-semi, all of those fixes would be too many and diverse to practically submit.
Also the -Wextra-semi fix removes just the semi and so it's fix will fail the kernel formatting check for an empty line.

With adding a -fix to the 'make clang-tidy' logic, this will fix automagically 100 problems in 50 files for x86_64.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90180/new/

https://reviews.llvm.org/D90180



More information about the cfe-commits mailing list