[cfe-dev] clang-tidy loading more checkers from an external library/plugin?

Sergio Martins via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 14 14:16:46 PDT 2017


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 | sergio.martins at kdab.com | 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



More information about the cfe-dev mailing list