[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-toolchain
Subject:    Re: Support for clang's static analyzer
From:       Joerg Sonnenberger <joerg () britannica ! bec ! de>
Date:       2011-08-25 21:25:34
Message-ID: 20110825212534.GA20095 () britannica ! bec ! de
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic