alexmurray / flycheck-clang-analyzer

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

Flycheck Checker: Suspicious state #8

Closed dreac0nic closed 6 years ago

dreac0nic commented 6 years ago

When installing flycheck-clang-analyzer via MELPA (20180215.345) along side clang-5.0.1, GNU emacs 25.3.1, and cquery (commit 080dd431) flycheck reports a suspicious state because the pattern won't match ": error: " that clang --analyze outputs.

I've added both "info" and "error" warning definitions with the appropriate matching patterns. This change should be completely backwards compatible as the original warning pattern still exists and functions as it did before!

alexmurray commented 6 years ago

Awesome, thanks for this.