D14288: Initial version of Clazy analyzer plugin

Anton Anikin noreply at phabricator.kde.org
Tue Aug 14 09:58:11 BST 2018

antonanikin added a comment.

  In D14288#301577 <https://phabricator.kde.org/D14288#301577>, @kossebau wrote:
  > Another issue I meanwhile hit:
  > Clazy analyzer is offered in the single file context menu also for header files (or also UI files). Trying to run it fails with
  >   Nothing to check: /path/to/build/compile_commands.json contains no matching items
  > Not sure if possible, but would be good to have the action item only added for files which are listed in the commands file.
  >  And same for the entry in the Code main menu.
  I think best solution is create some API in `IBuildSystemManager` for access to `compile_commands.json` contents. This will be useful also for `clang-tydy` and `cppcheck` plugins. Also will be great if `compile_commands.json` will be auto-genetrated not only for CMake builder but also for qbs/qmake/etc. But this is work for another revision :)

  R32 KDevelop


To: antonanikin, #kdevelop
Cc: pino, kossebau, kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180814/3bd90911/attachment.html>

More information about the KDevelop-devel mailing list