[PATCH] D36051: [clang-tidy] List the checkers with autofix

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 4 05:28:51 PDT 2017


JonasToth added a comment.

In my opinion, this list should be available to the executable for two reasons.

1. External tools, that want to integrate clang-tidy in their workflow should be able to get the information about fixits, since they could collidie with their own textual replacements
2. One might enable/disable only fixing checks. This one is less important, since the -fix flag is available.

Having it written in code, like maybe a flag you set when subclassing the check, makes it ez to automatically determine if the check is modifying for documentation as well.


https://reviews.llvm.org/D36051





More information about the cfe-commits mailing list