alexmurray / flycheck-clang-analyzer

Integrate Clang Static Analyzer with flycheck for on-the-fly static analysis in Emacs
35 stars 5 forks source link

Add support for rtags #2

Closed alexmurray closed 7 years ago

alexmurray commented 7 years ago

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.

alexmurray commented 7 years ago

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).

alexmurray commented 7 years ago

@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.

alexmurray commented 7 years ago

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