[clang-tools-extra] d2c9c91 - Move from a long list of checkers to tables

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 05:14:36 PST 2020


[adding the list back]

This list is one of the places that would be quite boring and error-prone
to update manually. I'd strongly prefer to have an automatic way of
updating it. Detecting whether a check has a fix might be not an easy task
though. Maybe the script could use some simple heuristic to detect obvious
ways to add a fix (e.g. search for
/FixItHint::Create.*\(|fixit::create.*\(/ - maybe in non-comment lines, if
it turns out to be feasible - in the check's source files) and mark these
checks as having fixes, the ones that don't have the word "fix" most
probably don't generate a fix, the rest are "unknown" (and these should be
fixed by hand). WDYT?

On Wed, Jan 8, 2020 at 1:59 PM Sylvestre Ledru <sledru at mozilla.com> wrote:

> ...
> I will probably remove the full analysis to just insert the new checker in
> the list. Would that be ok with you?
> If you want, I can disable the update of list.rst right now until it is
> fixed for real
> ...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200108/739804c8/attachment.html>


More information about the cfe-commits mailing list