[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1098204 - /subversion/trunk/subversion/libsvn_wc/questions.c

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 2 May 2011 16:16:00 +0300

Hyrum K Wright wrote on Mon, May 02, 2011 at 07:46:12 -0500:
> On Sun, May 1, 2011 at 2:38 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> > Nice series of patches tonight --- what tool / gcc flags did you use
> > to catch them?
>
> I've been playing around with clang-analyzer, a static analyzer that
> is part of llvm:
> http://clang-analyzer.llvm.org/
>
> There are still a lot of false positives (it has trouble grokking our
> SVN_ERR_ASSERT() macro), but it's been useful to find the kinds of
> problems fixed in my patches the last few days.
>

Sounds useful.

> At some point, it might be useful to set up a nightly buildbot to
> automatically run static analysis on a regular basis.
>

Indeed; I've been wondering how hard it would be to set up a buildbot
that turns red whenever a new compiler warning is introduced.

> -Hyrum
Received on 2011-05-02 15:17:07 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.