[cfe-dev] Clang Static Analyzer without scan-build

Richard legalize at xmission.com
Wed Jul 31 14:32:53 PDT 2013


In article <001101ce8d6d$1019efd0$304dcf70$@codeaurora.org>,
    "Aditya Kumar" <hiraditya at codeaurora.org> writes:

> This will have an overhead on the overall compilation time which is often
> not the desirable thing. [...]
> 
> I wanted some feedback if this is a good idea or not.

On a code base where I can build the entire tree with gcc 4.6 in about
10 minutes, running the static analyzer took multiple hours.  I didn't
time it exactly because I wasn't expecting THAT much of a slowdown.

So, based on that experience, anything that makes this lengthy process
take even longer would be a thumbs down from me.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>



More information about the cfe-dev mailing list