On Fri, Sep 4, 2009 at 9:04 AM, Steve Grubb<sgrubb(a)redhat.com> wrote:
On Friday 04 September 2009 02:30:14 am Jim Meyering wrote:
> Quick summary: use this tool:
>
>
http://clang-analyzer.llvm.org/
>
> If you're not using its "scan-build" tool, then start. Right now.
> Really. It's that good.
llvm is in Fedora. Looking at the build instructions for clang, it seems like
it would naturally fit as a subpackage for llvm. So, getting it into Fedora
should not be too much to do since llvm is already approved.
The latest Rawhide llvm build:
http://koji.fedoraproject.org/koji/buildinfo?buildID=130997
-- which you'd probably have to install manually until it hits the
Rawhide mirrors -- have clang's analyzer packaged. Once it lands
properly you can have llvm, llvm-clang (the compiler) and
llvm-clang-analyzer installed by simply doing
yum install llvm-clang-analyzer
I might push this into F-11 too, once LLVM 2.6 comes out, if simply to
provide the analyzer to our F-11 users.
Cheers,
--
Michel Alexandre Salim