Closed itollefsen closed 5 years ago
Thanks for this - please see the review comment
I would prefer if instead of just
(rtags-compilation-flags)
was(> (length (rtags-compilation-flags)) 0)
then the(if (...) t nil)
could be removed and it could be just the(and ...)
as original
Yes, of course. Now fixed.
When working on a project, it's quite common to also open source files outside of the current project. Trying to analyze those files will inevitably fail because RTags can't provide compilation flags for them.
This modifies `flycheck-clang-analyzer--rtags-active' to consider RTags to be inactive if it can't provide compilation flags for the current buffer, even if it's enabled and running.