[cfe-dev] Libclang static analyzer

Fredrik Ehnbom quarnster at gmail.com
Sun Jan 29 12:10:41 PST 2012


Hi,

Is it possible to run the static analyzer and get the diagnostics with libclang?

I'm thinking some command line option could enable it and then you get
the diagnostics, ranges and fixits as usual, but nothing I've tried
seems to do the trick. Am I missing something or is it just not
supported? What would it take to get it to work?

The use case I'm trying to enable is static analyzer support via a
python plugin for a text editor.

Many thanks,

/f



More information about the cfe-dev mailing list