[cfe-dev] [RFC] Add the ability for clang-tidy to accept checks via plugins
Kristóf Umann via cfe-dev
cfe-dev at lists.llvm.org
Thu Jun 25 12:56:03 PDT 2020
You can take some inspiration from the static analyzer, though we barely
support plugins and don't like to advertise the feature much.
https://reviews.llvm.org/D58065, section "Creating a checker plugin".
On Thu, 25 Jun 2020 at 21:44, Nathan James via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> I put in an RFC 2 days ago about this.
> I'm working on it, but come a little unstuck with figuring out how to
> link the plugin correctly. I don't know enough about cmake to get it
> working and would appreciate a little help.
> Kind regards,
> Nathan James
> On Thu, 2020-06-25 at 18:34 +0000, Lewis, Cannada via cfe-dev wrote:
> > Hi,
> > At Sandia we are developing clang-tidy checks for our internal
> > libraries in a llvm-project fork. The number one request from our
> > users is that we allow checks to be added to clang-tidy via plugins
> > so that they do not have to build a new clang-tidy exe just to get
> > new checks.
> > We are willing to give implementing this a try, but I wanted to see
> > if the community could explain why plugins don't currently exist and
> > help us get started in the process. Is it because there are difficult
> > technical limitations? Or is it just that no one has spent much time
> > on adding this feature?
> > Thanks for any advice and/or input.
> > -Cannada (Drew)
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev