tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for clang's static analyzer



On Thu, Aug 25, 2011 at 03:46:42PM -0500, David Young wrote:
> On Thu, Aug 25, 2011 at 10:34:33PM +0200, Joerg Sonnenberger wrote:
> > Hi all,
> > attached is a patch to add the "analyze" command. It requires clang and
> > uses a set of default checkers for all C and C++ source files.
> 
> Sounds neat.  Do you mean an "analyze" make target?  How would this
> be used?  What sort of checks will be performed?  Can we extend the
> repertoire of checks?

By running "make analyze" in some directory. I don't think it makes
sense to run it all the time, simply because the tests can be quite
slow. Patches for clang with new tests are always welcome upstream :)

Joerg


Home | Main Index | Thread Index | Old Index