Initial version of Clazy analyzer plugin

Authored by antonanikin on Aug 22 2018, 2:56 AM.

Description

Initial version of Clazy analyzer plugin

Summary:
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.

https://commits.kde.org/clazy

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.

Test Plan:
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

Tags: KDevelop

Differential Revision: https://phabricator.kde.org/D14288

Details

Committed
antonanikinAug 22 2018, 2:56 AM
Reviewer
KDevelop
Differential Revision
D14288: Initial version of Clazy analyzer plugin
Parents
R32:386c31122197: appimage: Set KF5 version to v5.48
Branches
Unknown
Tags
Unknown