Initial version of Clazy analyzer plugin
Clazy is a compiler plugin which allows clang to understand Qt semantics. You get more than 50 Qt related compiler warnings, ranging from unneeded memory allocations to misusage of API, including fix-its for automatic refactoring.
The plugin allows you to check project's code with clazy checker. Runtime dependencies:
- clazy-standalone (clazy part)
- installed clazy docs (used to building checks DB with errors descriptions)
- make (for parallel checking)
- compile_commands.json present in project's build directory
Plugin's GUI provides easy way to clazy configuration, enabling/disabling checks and so on.
Works as expected on my neon-useredition system (Ubuntu Xenial) with
Qt 5.11.1, kdevelop (git/master) and clazy (git/master).
Reviewers: KDevelop, kossebau
Reviewed By: KDevelop, kossebau
Subscribers: arrowd, mwolff, apol, kfunk, brauch, pino, kossebau, kdevelop-devel
Differential Revision: https://phabricator.kde.org/D14288