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

Tom Rix via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 06:12:01 PDT 2020


trixirt added a comment.

The 10,000 problems are for all the extra semicolon problems.
Those after switch are a small subset, chosen because is ok to automagically fix them.

The checker is in the linuxkernel/  because it is being used to fix the linux kernel now.
And to enforce it stays fixed.

Enforcement here is necessary because the linux kernel's enforcer checkpatch is
a line checker, not an ast checker.

If folks think this is a general fixer, I do not mind moving it to some other checker dir.


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