[cfe-dev] unclear about how to correctly run scan-build through make

Peeter Joot peeter.joot at gmail.com
Wed Dec 12 11:16:44 PST 2012


Thanks, that's the key.  Could this be added to the scan-build docs?


IIRC, scan-build works by setting CC, CXX etc. environment variables.
> Since your Makefile does not use these, static analyzer is not being
> run.
>
>
-- 
Peeter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121212/7976df6b/attachment.html>


More information about the cfe-dev mailing list