clang-tidy loading more checkers from an external library/plugin?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

clang-tidy loading more checkers from an external library/plugin?

Roman Popov via cfe-dev
Hi!

There is clang-tidy, which is nice and cool. Now, there is also clazy

        https://github.com/KDE/clazy

, which includes great checks for Qt code and is implemented as a clang
plugin (and also as a standalone tool).

Since clazy is a clang plugin, can clang-tidy use that so that
diagnostics/fixits generated by the clazy plugin will be emitted through
clang-tidy? Having that, only one tool needs to be run :)

If not, what would be needed to make this work?

This is https://bugs.llvm.org//show_bug.cgi?id=32739 .

Nikolai
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang-tidy loading more checkers from an external library/plugin?

Roman Popov via cfe-dev
On 2017-08-10 10:52, Nikolai Kosjar wrote:

> There is clang-tidy, which is nice and cool. Now, there is also clazy
>
> https://github.com/KDE/clazy
>
> , which includes great checks for Qt code and is implemented as a
> clang plugin (and also as a standalone tool).
>
> Since clazy is a clang plugin, can clang-tidy use that so that
> diagnostics/fixits generated by the clazy plugin will be emitted
> through clang-tidy? Having that, only one tool needs to be run :)
>
> If not, what would be needed to make this work?
>
> This is https://bugs.llvm.org//show_bug.cgi?id=32739 .

Thanks for bringing this up in the ML Nikolai.

Sooner or later this will have to happen, as the current architecture
doesn't scale with N vendors.
Doesn't make sense for me to get google checks (or other vendor) when
cloning tidy.




Regards,
--
SĂ©rgio Martins | [hidden email] | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev