[PATCH] D63085: Provide a fix-it hint for -Wswitch, which adds missing cases. If there are >3 cases, the inserted text will contain newlines so it will not be shown in console output (but will be applied by -fixit, available to libclang and clangd, etc).

Trass3r via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 11:42:00 PDT 2022


Trass3r added a comment.

That's the general approach for clang-tidy use too, rely on clang-format for formatting the fixes.


Repository:
  rC Clang

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

https://reviews.llvm.org/D63085



More information about the cfe-commits mailing list