[PATCH] D72421: [clang-tidy] Refresh the add_new_check.py now that we use a table + autofix
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 05:21:56 PST 2020
njames93 added a comment.
In D72421#1811544 <https://reviews.llvm.org/D72421#1811544>, @sylvestre.ledru wrote:
> > Thanks for this, Also how would you feel about adding a parameter to the script that could create alias definitions in much the same way?
>
> Do you have more details about your expectation? I could have a look but in a separate commit :)
An example says it best
py add_new_check.py awesome make-unique --alias modernize make-unqiue
Running that would create a new check in the Awesome module called make-unique that is just an alias for modernize-make-unique. doing the necessary things like updating the list.rst, creating a blank doc that just redirects to modernize-make-unique and adding the 'New Alias check' for the release notes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72421/new/
https://reviews.llvm.org/D72421
More information about the cfe-commits
mailing list