alexmurray/flycheck-clang-analyzer

Add support for rtags

alexmurray opened this issue · 3 comments

rtags appears to support retrieving compilation arguments using elisp - rtags-compilation-flags and current project rtags-current-project so should be able to use it as a backend alongside irony.

See branch rtags-backend for an initial stab at this (as well as the work to introduce the whole concept of a backend and to remove the hard dependency on irony).

@Andersbakken - since I don't use rtags I can't easily test this - would you be able to please try and test this (from the rtags-backend branch) for me? It would be great to be able to offer on-the-fly static analysis to rtags users. Also any feedback you can give on the approach I have taken would be good too.

Some basic testing with a simple installation of rtags against it's own code base shows the current branch as it stands now (with 5dd8183 and f1d35f0) appears to work.