• Anton Anikin's avatar
    Initial version of Clazy analyzer plugin · e25b145a
    Anton Anikin authored
    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.
    
    {F6131188}
    
    {F6131189}
    
    {F6131190}
    
    {F6131191}
    
    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
    e25b145a
FindClazyStandalone.cmake 902 Bytes